From 8eceed9aa31cdd0501c0567eecd81dd842544c13 Mon Sep 17 00:00:00 2001 From: Opostol Date: Fri, 10 Aug 2018 14:48:20 +0300 Subject: [PATCH] Dock area currentChanging signal introduced(part2) --- src/DockAreaWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DockAreaWidget.cpp b/src/DockAreaWidget.cpp index 868934e..dbbf144 100644 --- a/src/DockAreaWidget.cpp +++ b/src/DockAreaWidget.cpp @@ -533,7 +533,9 @@ void CDockAreaWidget::setCurrentIndex(int index) { qWarning() << Q_FUNC_INFO << "Invalid index" << index; return; - } + } + + emit currentChanging(index); // Set active TAB and update all other tabs to be inactive for (int i = 0; i < d->TabsLayout->count(); ++i)