mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 06:36:07 -04:00
Activate window in TestGui.
It doesn't seem to get the focus automatically when run inside Xvfb. QTRY_VERIFY(searchEdit->hasFocus()) failed as a result of this.
This commit is contained in:
parent
82aa02a980
commit
5a13402b51
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ void TestGui::initTestCase()
|
|||
m_mainWindow = new MainWindow();
|
||||
m_tabWidget = m_mainWindow->findChild<DatabaseTabWidget*>("tabWidget");
|
||||
m_mainWindow->show();
|
||||
m_mainWindow->activateWindow();
|
||||
Tools::wait(50);
|
||||
|
||||
QByteArray tmpData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue