From 9246f06b8f29676395cf089b5ffd1f06a9f3ec56 Mon Sep 17 00:00:00 2001 From: Jon Jenssen Date: Wed, 24 Aug 2022 16:59:06 +0200 Subject: [PATCH] Make sure font size is updated in legend refresh. --- ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp b/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp index f3dd024359..e8404d4f09 100644 --- a/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp +++ b/ApplicationLibCode/UserInterface/RiuMultiPlotPage.cpp @@ -629,6 +629,7 @@ void RiuMultiPlotPage::refreshLegends() for ( const auto& l : legends ) { l->setVisible( !l->isEmpty() ); + updateLegendFont( l ); } }