Bugfix view config loading

This commit is contained in:
brunoherbelin
2021-03-27 18:13:09 +01:00
parent ee2ce3802f
commit bc4eadfd08
7 changed files with 22 additions and 21 deletions

View File

@@ -343,10 +343,10 @@ void Settings::Load()
// bloc views
{
application.views.clear(); // trash existing list
XMLElement * pElement = pRoot->FirstChildElement("Views");
if (pElement)
{
application.views.clear(); // trash existing list
pElement->QueryIntAttribute("current", &application.current_view);
pElement->QueryIntAttribute("workspace", &application.current_workspace);