mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
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:
parent
456726556d
commit
c88d8c870f
10 changed files with 90 additions and 17 deletions
|
@ -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]");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue