footageviewer: raise when footage is set

This commit is contained in:
itsmattkc
2020-11-20 18:13:28 +11:00
parent 6eade26bc8
commit b25b53591b
@@ -59,7 +59,12 @@ void FootageViewerPanel::SetFootage(Footage *f)
static_cast<FootageViewerWidget*>(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();
}