Skip to content

Commit 851c5f2

Browse files
authored
CLI: QT reacts the same way as the calculator (#15)
1 parent ee6a131 commit 851c5f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tsqsim-qt/src/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ int main(int argc, char *argv[])
7373
StrategyType stratType = StrategyFactory::Type::STRA_SR_BRK;
7474
gcfgMan.Read();
7575
ConfigSym * pconf = gcfgMan.cfgSym.get();
76+
pconf->UpdateFromOther(result.value.m_confSym);
77+
pconf->Write(); // Propagates the CLI choices
78+
7679
//const ConfigTF2 & confTF2 = *gcfgMan.cfgTF2;
7780
//const ConfigOpti & confOpti = *gcfgMan.cfgOpti;
7881
try

0 commit comments

Comments
 (0)