From 08a75603f32e74d43df546cbd6f4eed7501a616c Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Thu, 28 Nov 2019 15:05:38 +0100 Subject: [PATCH] Fix legend disappearing after hiding and showing plots --- ApplicationCode/UserInterface/RiuMultiPlotWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/UserInterface/RiuMultiPlotWindow.cpp b/ApplicationCode/UserInterface/RiuMultiPlotWindow.cpp index 2ec0ce167d..c847ae7b9a 100644 --- a/ApplicationCode/UserInterface/RiuMultiPlotWindow.cpp +++ b/ApplicationCode/UserInterface/RiuMultiPlotWindow.cpp @@ -350,7 +350,7 @@ void RiuMultiPlotWindow::resizeEvent( QResizeEvent* event ) void RiuMultiPlotWindow::showEvent( QShowEvent* event ) { QWidget::showEvent( event ); - performUpdate(); + scheduleUpdate(); } //--------------------------------------------------------------------------------------------------