Auto-Type: Only require a substring match for regex.

This matches the behavior of KeePass.

Refs #357
This commit is contained in:
Felix Geyer
2015-10-10 17:36:08 +02:00
parent 862941abf6
commit 820941fd40
3 changed files with 45 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ private Q_SLOTS:
void testGlobalAutoTypeWithOneMatch();
void testGlobalAutoTypeTitleMatch();
void testGlobalAutoTypeTitleMatchDisabled();
void testGlobalAutoTypeRegExp();
private:
AutoTypePlatformInterface* m_platform;
@@ -53,6 +54,7 @@ private:
Group* m_group;
Entry* m_entry1;
Entry* m_entry2;
Entry* m_entry3;
};
#endif // KEEPASSX_TESTAUTOTYPE_H