Cleanup entry level Auto-Type menu

* Show the sequence that will be typed when performing the default action
* Combine default sequence action with Username / Password options
* Fix #4939 - confirm prior to performing entry level auto-type if "Always Ask Before Auto-Type" is enabled
This commit is contained in:
Jonathan White 2020-11-11 17:40:42 -05:00
parent f3d88fbd36
commit 7ce35f81de
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
5 changed files with 80 additions and 45 deletions

View file

@ -105,6 +105,7 @@ public:
QStringList customEntryAttributes() const;
bool isEditWidgetModified() const;
void clearAllWidgets();
Entry* currentSelectedEntry();
bool currentEntryHasTitle();
bool currentEntryHasUsername();
bool currentEntryHasPassword();
@ -181,7 +182,7 @@ public slots:
void addToAgent();
void removeFromAgent();
#endif
void performAutoType();
void performAutoType(const QString& sequence = {});
void performAutoTypeUsername();
void performAutoTypeUsernameEnter();
void performAutoTypePassword();
@ -257,7 +258,6 @@ private:
bool confirmDeleteEntries(QList<Entry*> entries, bool permanent);
void performIconDownloads(const QList<Entry*>& entries, bool force = false);
bool performSave(QString& errorMessage, const QString& fileName = {});
Entry* currentSelectedEntry();
QSharedPointer<Database> m_db;