mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Show a dialog when no window matches for auto-type.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "autotype/AutoType.h"
|
||||
#include "autotype/AutoTypePlatformPlugin.h"
|
||||
#include "autotype/test/AutoTypeTestInterface.h"
|
||||
#include "gui/MessageBox.h"
|
||||
|
||||
void TestAutoType::initTestCase()
|
||||
{
|
||||
@@ -101,6 +102,7 @@ void TestAutoType::testGlobalAutoTypeWithNoMatch()
|
||||
QList<Database*> dbList;
|
||||
dbList.append(m_db);
|
||||
|
||||
MessageBox::setNextAnswer(QMessageBox::Ok);
|
||||
m_autoType->performGlobalAutoType(dbList);
|
||||
|
||||
QCOMPARE(m_test->actionChars(), QString());
|
||||
|
||||
Reference in New Issue
Block a user