mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-05 00:02:33 -08: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:
1 parent
82aa02a980
commit
5a13402b51
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user