Fix closing app in GUI mode.
It must close only in console mode.
This commit is contained in:
parent
c7085e42c3
commit
adb6419670
|
@ -538,7 +538,7 @@ void PuzzleApplication::ProcessArguments(const VPuzzleCommandLinePtr &cmd)
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd->IsGuiEnabled())
|
if (not cmd->IsGuiEnabled())
|
||||||
{
|
{
|
||||||
qApp->exit(V_EX_OK); // close program after processing in console mode
|
qApp->exit(V_EX_OK); // close program after processing in console mode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user