Add lock selected database action on toolbar
Closes #6445 Switch tab when locking a database and move Lock Database actions to the Database section of the toolbar.
This commit is contained in:
committed by
Jonathan White
parent
456726556d
commit
c88d8c870f
@@ -1384,7 +1384,7 @@ void TestGui::testDatabaseLocking()
|
||||
QString origDbName = m_tabWidget->tabText(0);
|
||||
|
||||
MessageBox::setNextAnswer(MessageBox::Cancel);
|
||||
triggerAction("actionLockDatabases");
|
||||
triggerAction("actionLockAllDatabases");
|
||||
|
||||
QCOMPARE(m_tabWidget->tabText(0), origDbName + " [Locked]");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user