viewerpanel: only listen to closeEvent to pause
Using showEvent as well would pause if Maximize Panel was used which is undesirable.
This commit is contained in:
@@ -111,13 +111,6 @@ void ViewerPanelBase::CreateScopePanel(ScopePanel::Type type)
|
||||
vw->ForceUpdate();
|
||||
}
|
||||
|
||||
void ViewerPanelBase::showEvent(QShowEvent *e)
|
||||
{
|
||||
static_cast<ViewerWidget*>(GetTimeBasedWidget())->Pause();
|
||||
|
||||
TimeBasedPanel::showEvent(e);
|
||||
}
|
||||
|
||||
void ViewerPanelBase::closeEvent(QCloseEvent *e)
|
||||
{
|
||||
static_cast<ViewerWidget*>(GetTimeBasedWidget())->Pause();
|
||||
|
||||
Reference in New Issue
Block a user