Use unlock dialog when unlocking a database from browser extension
This commit is contained in:
committed by
Jonathan White
parent
09f5a74a15
commit
92a7fe33bd
@@ -755,3 +755,11 @@ void DatabaseTabWidget::performGlobalAutoType()
|
||||
unlockDatabaseInDialog(currentDatabaseWidget(), DatabaseOpenDialog::Intent::AutoType);
|
||||
}
|
||||
}
|
||||
|
||||
void DatabaseTabWidget::performBrowserUnlock()
|
||||
{
|
||||
auto dbWidget = currentDatabaseWidget();
|
||||
if (dbWidget && dbWidget->isLocked()) {
|
||||
unlockDatabaseInDialog(dbWidget, DatabaseOpenDialog::Intent::Browser);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user