From b25b53591b26ed2a6050eee792bd3a1a2b837b6f Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 20 Nov 2020 18:13:28 +1100 Subject: [PATCH] footageviewer: raise when footage is set --- app/panel/footageviewer/footageviewer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/panel/footageviewer/footageviewer.cpp b/app/panel/footageviewer/footageviewer.cpp index 90b43f6f6..6bfbb4be1 100644 --- a/app/panel/footageviewer/footageviewer.cpp +++ b/app/panel/footageviewer/footageviewer.cpp @@ -59,7 +59,12 @@ void FootageViewerPanel::SetFootage(Footage *f) static_cast(GetTimeBasedWidget())->SetFootage(f); if (f) { + // SetSubtitle() will call Retranslate(), so we don't need to call it here SetSubtitle(f->name()); + + // Pop this panel up so the user doesn't think nothing's happening if it's behind another tab + this->show(); + this->raise(); } else { Retranslate(); }