mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
Fix crash when changing application fonts
This commit is contained in:
1 parent
3a90bf1e76
commit
2d6e631107
1 file changed
+16
-4
@@ -1766,10 +1766,22 @@ void RiuMainWindow::setDefaultToolbarVisibility()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuMainWindow::applyFontSizesToDockedPlots()
|
||||
{
|
||||
m_resultQwtPlot->applyFontSizes( true );
|
||||
m_mohrsCirclePlot->applyFontSizes( true );
|
||||
m_relPermPlotPanel->applyFontSizes( true );
|
||||
m_pvtPlotPanel->applyFontSizes( true );
|
||||
if ( m_resultQwtPlot )
|
||||
{
|
||||
m_resultQwtPlot->applyFontSizes( true );
|
||||
}
|
||||
if ( m_mohrsCirclePlot )
|
||||
{
|
||||
m_mohrsCirclePlot->applyFontSizes( true );
|
||||
}
|
||||
if ( m_relPermPlotPanel )
|
||||
{
|
||||
m_relPermPlotPanel->applyFontSizes( true );
|
||||
}
|
||||
if ( m_pvtPlotPanel )
|
||||
{
|
||||
m_pvtPlotPanel->applyFontSizes( true );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user