mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Increase the time interval for window show workaround
When the keepassxc window is shown something generetes a hide event, and it is hidden again immediately. The 50ms interval for avoiding hiding the window when shown is not enough, even on modern systems. Make the interval longer.
This commit is contained in:
parent
f4b91c17a9
commit
43904d87b7
1 changed files with 1 additions and 1 deletions
|
|
@ -1818,7 +1818,7 @@ void MainWindow::hide()
|
|||
{
|
||||
#ifndef Q_OS_WIN
|
||||
qint64 current_time = Clock::currentMilliSecondsSinceEpoch();
|
||||
if (current_time - m_lastShowTime < 50) {
|
||||
if (current_time - m_lastShowTime < 250) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue