mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 22:54:59 -04:00
parent
78ef6f0d04
commit
240939ce3b
2 changed files with 14 additions and 0 deletions
|
@ -492,6 +492,7 @@ void TestGui::testAddEntry()
|
|||
// Add entry "something 5" but click cancel button (does NOT add entry)
|
||||
QTest::mouseClick(entryNewWidget, Qt::LeftButton);
|
||||
QTest::keyClicks(titleEdit, "something 5");
|
||||
MessageBox::setNextAnswer(QMessageBox::Discard);
|
||||
QTest::mouseClick(editEntryWidgetButtonBox->button(QDialogButtonBox::Cancel), Qt::LeftButton);
|
||||
|
||||
QApplication::processEvents();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue