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

Qt: fix focus on GotoTime dismiss



Close #7914
returns highlight focus to main window on Go/Cancel/[Esc] in GotoTime dialogue
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 59ab188c
...@@ -92,7 +92,8 @@ void GotoTimeDialog::toggleVisible() ...@@ -92,7 +92,8 @@ void GotoTimeDialog::toggleVisible()
timeEdit->setTime( timeEdit->time().addSecs( i_time / 1000000 ) ); timeEdit->setTime( timeEdit->time().addSecs( i_time / 1000000 ) );
} }
QVLCDialog::toggleVisible(); QVLCDialog::toggleVisible();
activateWindow (); if(isVisible())
activateWindow();
} }
void GotoTimeDialog::cancel() 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