mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-01 11:06:17 -04:00
Add unlock dialog on Autotype and show default Autotype sequence (#89)
* Add unlockdialog on autotype. Fix #10 * Show default autotype sequence for existing entries * NOTE: New entries/groups do not show the default autotype sequence
This commit is contained in:
parent
0657d343bf
commit
6927158daa
13 changed files with 202 additions and 11 deletions
|
@ -192,9 +192,6 @@ void AutoType::performGlobalAutoType(const QList<Database*>& dbList)
|
|||
QList<Entry*> entryList;
|
||||
QHash<Entry*, QString> sequenceHash;
|
||||
|
||||
// TODO: Check if there are any active databases here, if not do nothing
|
||||
// TODO: Check if all databases are locked, if so ask to unlock them
|
||||
|
||||
for (Database* db : dbList) {
|
||||
const QList<Entry*> dbEntries = db->rootGroup()->entriesRecursive();
|
||||
for (Entry* entry : dbEntries) {
|
||||
|
@ -316,7 +313,7 @@ bool AutoType::parseActions(const QString& sequence, const Entry* entry, QList<A
|
|||
|
||||
|
||||
for (const QChar& ch : sequence) {
|
||||
// TODO: implement support for {{}, {}} and {DELAY=X}
|
||||
// TODO: implement support for {{}, {}}
|
||||
|
||||
if (inTmpl) {
|
||||
if (ch == '{') {
|
||||
|
@ -446,7 +443,7 @@ QList<AutoTypeAction*> AutoType::createActionFromTemplate(const QString& tmpl, c
|
|||
else if (tmplName == "ptrsc") {
|
||||
list.append(new AutoTypeKey(Qt::Key_Print));
|
||||
}
|
||||
else if (tmplName == "scolllock") {
|
||||
else if (tmplName == "scrolllock") {
|
||||
list.append(new AutoTypeKey(Qt::Key_ScrollLock));
|
||||
}
|
||||
// Qt doesn't know about keypad keys so use the normal ones instead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue