Commit d7f817e0 authored by Olivier Teulière's avatar Olivier Teulière

* skins: Reload the current skin correctly even when skins2-config is not set

parent fe23407a
...@@ -47,6 +47,14 @@ void Theme::loadConfig() ...@@ -47,6 +47,14 @@ void Theme::loadConfig()
char *save = config_GetPsz( getIntf(), "skins2-config" ); char *save = config_GetPsz( getIntf(), "skins2-config" );
if( !save ) return; if( !save ) return;
// Is there an existing config?
if( !strcmp( save, "" ) )
{
// Show the windows
m_windowManager.showAll();
return;
}
// Initialization // Initialization
map<string, TopWindowPtr>::const_iterator it; map<string, TopWindowPtr>::const_iterator it;
int i = 0; int i = 0;
......
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