Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Schwackenhofer <tobiasschw@gmail.com>2019-04-19 21:04:23 +0300
committerJonathan White <support@dmapps.us>2019-06-19 17:23:33 +0300
commit7ceca8ff3c0ce971a3cfa38719b45330c73e55ad (patch)
treedd82d32146eb10dca6463ab710ca8d6e485ed92e /src/autotype/AutoTypeSelectDialog.cpp
parentbb8377ae6a65e5b9b2ddf2be405e70f7e51eebf3 (diff)
Enable copy & paste from AutoType selection dialog
This change adds a right-click context menu to the AutoType dialog, which allows the user to copy either the username or password. The dialog then automatically closes.
Diffstat (limited to 'src/autotype/AutoTypeSelectDialog.cpp')
-rw-r--r--src/autotype/AutoTypeSelectDialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/autotype/AutoTypeSelectDialog.cpp b/src/autotype/AutoTypeSelectDialog.cpp
index 69f181765..997858f0d 100644
--- a/src/autotype/AutoTypeSelectDialog.cpp
+++ b/src/autotype/AutoTypeSelectDialog.cpp
@@ -75,6 +75,7 @@ AutoTypeSelectDialog::AutoTypeSelectDialog(QWidget* parent)
connect(m_view, SIGNAL(clicked(QModelIndex)), SLOT(emitMatchActivated(QModelIndex)));
connect(m_view->model(), SIGNAL(rowsRemoved(QModelIndex,int,int)), SLOT(matchRemoved()));
connect(m_view, SIGNAL(rejected()), SLOT(reject()));
+ connect(m_view, SIGNAL(matchTextCopied()), SLOT(reject()));
// clang-format on
QSortFilterProxyModel* proxy = qobject_cast<QSortFilterProxyModel*>(m_view->model());