Commit 258e223c authored by Torsten Rahn's avatar Torsten Rahn Committed by Dennis Nienhüser
Browse files

Fixes: Bug 270712 - Overview map settings storage is broken

RevBy: Daniel Marth, Dennis Nienhüser
CCBUG: 270712
(cherry picked from commit 3ab98936)
parent 432a5c57
......@@ -342,13 +342,14 @@ void OverviewMap::writeSettings()
void OverviewMap::updateSettings()
{
if ( !m_configDialog ) {
return;
}
m_svgPaths = m_settings.value( "paths" ).toHash();
m_posColor = m_settings.value( "posColor" ).value<QColor>();
loadPlanetMaps();
if ( !m_configDialog ) {
return;
}
setCurrentWidget( m_svgWidgets[m_planetID[2]] );
showCurrentPlanetPreview();
setContentSize( QSizeF( ui_configWidget->m_widthBox->value(), ui_configWidget->m_heightBox->value() ) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment