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.
This commit is contained in:
Jonathan White 2019-10-20 18:28:58 -04:00
parent 1e694271a3
commit 56a3e4d680
5 changed files with 77 additions and 42 deletions

View file

@ -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;