Skip to content

Commit

Permalink
Allow default values for module inclusion.
Browse files Browse the repository at this point in the history
  • Loading branch information
crabmusket committed Feb 8, 2015
1 parent 89e2760 commit b4d16d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/moduleList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ void ModuleList::buildList()
ModuleEntry* module = createModule(eModule);
if(module)
{
if(e.hasAttribute("default"))
{
module->mDefaultChoice = (e.attribute("default").toInt() == 1);
}
mModules.push_back(module);
}
}
Expand Down

0 comments on commit b4d16d7

Please sign in to comment.