mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix of high CPU usage when style sheet applied to hidden dock widget
Fixes #6627.
This commit is contained in:
parent
25ee7a1610
commit
a68598fd16
@ -418,8 +418,6 @@ void RiaGuiApplication::initialize()
|
||||
{
|
||||
RiaApplication::initialize();
|
||||
|
||||
RiuGuiTheme::updateGuiTheme( m_preferences->guiTheme() );
|
||||
|
||||
applyGuiPreferences( nullptr );
|
||||
|
||||
// Create main windows
|
||||
@ -428,6 +426,8 @@ void RiaGuiApplication::initialize()
|
||||
RiuPlotMainWindow* plotMainWindow = getOrCreateMainPlotWindow();
|
||||
plotMainWindow->hideAllDockWidgets();
|
||||
|
||||
RiuGuiTheme::updateGuiTheme( m_preferences->guiTheme() );
|
||||
|
||||
{
|
||||
auto logger = new RiuMessagePanelLogger;
|
||||
logger->addMessagePanel( m_mainWindow->messagePanel() );
|
||||
|
Loading…
Reference in New Issue
Block a user