Commit c49c859c authored by Ancelot Mark Pinto's avatar Ancelot Mark Pinto Committed by Jean-Baptiste Kempf

Qt: fix focus on GotoTime dismiss

Close #7914
returns highlight focus to main window on Go/Cancel/[Esc] in GotoTime dialogue
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 59ab188c
......@@ -92,7 +92,8 @@ void GotoTimeDialog::toggleVisible()
timeEdit->setTime( timeEdit->time().addSecs( i_time / 1000000 ) );
}
QVLCDialog::toggleVisible();
activateWindow ();
if(isVisible())
activateWindow();
}
void GotoTimeDialog::cancel()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment