Emit database changed event on single db lock
This commit is contained in:
committed by
Jonathan White
parent
9e9ed8b532
commit
c1dbe27f25
@@ -202,6 +202,7 @@ void DatabaseTabWidget::lockAndSwitchToFirstUnlockedDatabase(int index)
|
|||||||
for (int i = 0, c = count(); i < c; ++i) {
|
for (int i = 0, c = count(); i < c; ++i) {
|
||||||
if (!databaseWidgetFromIndex(i)->isLocked()) {
|
if (!databaseWidgetFromIndex(i)->isLocked()) {
|
||||||
setCurrentIndex(i);
|
setCurrentIndex(i);
|
||||||
|
emitActiveDatabaseChanged();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user