mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-06 05:57:37 +03:00
parent
236edae60b
commit
f236c32063
3 changed files with 15 additions and 10 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "core/Metadata.h"
|
||||
#include "core/qsavefile.h"
|
||||
#include "format/CsvExporter.h"
|
||||
#include "gui/Clipboard.h"
|
||||
#include "gui/DatabaseWidget.h"
|
||||
#include "gui/DatabaseWidgetStateSync.h"
|
||||
#include "gui/DragTabBar.h"
|
||||
|
@ -632,6 +633,8 @@ bool DatabaseTabWidget::hasLockableDatabases() const
|
|||
|
||||
void DatabaseTabWidget::lockDatabases()
|
||||
{
|
||||
clipboard()->clearCopiedText();
|
||||
|
||||
for (int i = 0; i < count(); i++) {
|
||||
DatabaseWidget* dbWidget = static_cast<DatabaseWidget*>(widget(i));
|
||||
Database* db = databaseFromDatabaseWidget(dbWidget);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue