Dock area currentChanging signal introduced(part2)

This commit is contained in:
Opostol 2018-08-10 14:48:20 +03:00 committed by GitHub
parent 4188d69356
commit 8eceed9aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)