diff options
author | Jonathan White <support@dmapps.us> | 2019-10-21 01:28:58 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-10-21 03:34:48 +0300 |
commit | 56a3e4d680e4c4fbe7f8def97873ebc72ba1eaab (patch) | |
tree | b51f0537ee6f9e5552fb13023b36f0487b3cb064 /src/gui/DatabaseWidget.h | |
parent | 1e694271a3c6c233736301dcb2f1a7ced081fc3f (diff) |
Enable entry actions when editing an entry
* Fixes #2118
Enables select entry actions when editing an entry. This allows users to copy the password of the entry, for example.
Note: unsaved changes to the entry will not be copied to the clipboard.
Diffstat (limited to 'src/gui/DatabaseWidget.h')
-rw-r--r-- | src/gui/DatabaseWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/DatabaseWidget.h b/src/gui/DatabaseWidget.h index 5a163a312..6f40c65c5 100644 --- a/src/gui/DatabaseWidget.h +++ b/src/gui/DatabaseWidget.h @@ -80,6 +80,7 @@ public: DatabaseWidget::Mode currentMode() const; bool isLocked() const; bool isSearchActive() const; + bool isEntryEditActive() const; QString getCurrentSearch(); void refreshSearch(); @@ -234,6 +235,7 @@ private: void processAutoOpen(); bool confirmDeleteEntries(QList<Entry*> entries, bool permanent); void performIconDownloads(const QList<Entry*>& entries, bool force = false); + Entry* currentSelectedEntry(); QSharedPointer<Database> m_db; |