Emit database changed event on single db lock

This commit is contained in:
varjolintu 2022-06-05 20:49:44 +03:00 committed by Jonathan White
parent 60d4e06531
commit 19bd6069d7

View File

@ -202,6 +202,7 @@ void DatabaseTabWidget::lockAndSwitchToFirstUnlockedDatabase(int index)
for (int i = 0, c = count(); i < c; ++i) {
if (!databaseWidgetFromIndex(i)->isLocked()) {
setCurrentIndex(i);
emitActiveDatabaseChanged();
return;
}
}