Skip to content

Commit

Permalink
fix #14506
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 13, 2024
1 parent caa3d9f commit 66a4894
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/netedit/tools/GNEPythonTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ GNEPythonTool::saveConfiguration(const std::string& file) const {
for (const auto& option : myPythonToolsOptions) {
// only write modified values
if (!option.second->isDefault()) {
command += ("--" + option.first + " \"" + option.second->getValueString() + "\" ");
if (option.second->isBool()) {
command += ("--" + option.first + " ");
} else {
command += ("--" + option.first + " \"" + option.second->getValueString() + "\" ");
}
}
}
// start in background
Expand Down

0 comments on commit 66a4894

Please sign in to comment.