mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 21:47:38 +03:00
Add TestGui::testEditEntry().
This tests that the database isn't marked as modified when we don't change anything but still press the Ok button.
This commit is contained in:
parent
38585663e1
commit
3baaf6be97
3 changed files with 32 additions and 0 deletions
|
@ -39,7 +39,9 @@ DatabaseWidget::DatabaseWidget(Database* db, QWidget* parent)
|
|||
QSplitter* splitter = new QSplitter(m_mainWidget);
|
||||
|
||||
m_groupView = new GroupView(db, splitter);
|
||||
m_groupView->setObjectName("groupView");
|
||||
m_entryView = new EntryView(splitter);
|
||||
m_entryView->setObjectName("entryView");
|
||||
|
||||
QSizePolicy policy;
|
||||
|
||||
|
@ -58,7 +60,9 @@ DatabaseWidget::DatabaseWidget(Database* db, QWidget* parent)
|
|||
m_mainWidget->setLayout(layout);
|
||||
|
||||
m_editEntryWidget = new EditEntryWidget();
|
||||
m_editEntryWidget->setObjectName("editEntryWidget");
|
||||
m_editGroupWidget = new EditGroupWidget();
|
||||
m_editGroupWidget->setObjectName("editGroupWidget");
|
||||
m_changeMasterKeyWidget = new ChangeMasterKeyWidget();
|
||||
m_changeMasterKeyWidget->headlineLabel()->setText(tr("Change master key"));
|
||||
QFont headlineLabelFont = m_changeMasterKeyWidget->headlineLabel()->font();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue