Skip to content

Commit 8eceed9

Browse files
authored
Dock area currentChanging signal introduced(part2)
1 parent 4188d69 commit 8eceed9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/DockAreaWidget.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,9 @@ void CDockAreaWidget::setCurrentIndex(int index)
533533
{
534534
qWarning() << Q_FUNC_INFO << "Invalid index" << index;
535535
return;
536-
}
536+
}
537+
538+
emit currentChanging(index);
537539

538540
// Set active TAB and update all other tabs to be inactive
539541
for (int i = 0; i < d->TabsLayout->count(); ++i)

0 commit comments

Comments
 (0)