Fix bug #3051174 (reported by Trent Gamblin): Loading two or more times gui.xml file.

This commit is contained in:
David Capello 2010-08-26 21:40:45 -03:00
parent eb056ab358
commit 75689ef990
2 changed files with 6 additions and 0 deletions

View File

@ -203,6 +203,9 @@ void ConfigureScreen::load_resolutions(ComboBox* resolution, ComboBox* color_dep
xmlElement = xmlElement->NextSiblingElement();
}
// We just load the first gui.xml found
break;
}
// Current screen size

View File

@ -174,6 +174,9 @@ void ToolBox::loadTools()
m_groups.push_back(tool_group);
xmlGroup = xmlGroup->NextSiblingElement();
}
// We just load the first gui.xml found
break;
}
}