mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 06:26:11 -05: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
@ -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…
x
Reference in New Issue
Block a user