Skip to content

Commit

Permalink
CLI: QT reacts the same way as the calculator (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-xmr committed Dec 3, 2021
1 parent ee6a131 commit 851c5f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tsqsim-qt/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ int main(int argc, char *argv[])
StrategyType stratType = StrategyFactory::Type::STRA_SR_BRK;
gcfgMan.Read();
ConfigSym * pconf = gcfgMan.cfgSym.get();
pconf->UpdateFromOther(result.value.m_confSym);
pconf->Write(); // Propagates the CLI choices

//const ConfigTF2 & confTF2 = *gcfgMan.cfgTF2;
//const ConfigOpti & confOpti = *gcfgMan.cfgOpti;
try
Expand Down

0 comments on commit 851c5f2

Please sign in to comment.