mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-02-03 09:49:13 +08:00
Dock area currentChanging signal introduced(part2)
This commit is contained in:
parent
4188d69356
commit
8eceed9aa3
@ -533,7 +533,9 @@ void CDockAreaWidget::setCurrentIndex(int index)
|
|||||||
{
|
{
|
||||||
qWarning() << Q_FUNC_INFO << "Invalid index" << index;
|
qWarning() << Q_FUNC_INFO << "Invalid index" << index;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
emit currentChanging(index);
|
||||||
|
|
||||||
// Set active TAB and update all other tabs to be inactive
|
// Set active TAB and update all other tabs to be inactive
|
||||||
for (int i = 0; i < d->TabsLayout->count(); ++i)
|
for (int i = 0; i < d->TabsLayout->count(); ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user