Opened 5 years ago
Closed 5 years ago
#5569 closed defect (fixed)
Changes to additional translation flags are often ignored until OMEdit is restarted
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: | Andrea Bartolini |
Description
In most cases (not always, though), when I add or change translation flags in Tool|Options|Simulation, the change doesn't have any effect until I close OMEdit and reopen it. For example, if I add ,execstat
to the list of -d
flags, I don't see any notifications until I close OMEdit and reopen it.
This behaviour popped up recently, though I couldn't say exactly when, and it's most annoying when you are trying to debug models and/or OMEdit and you need to restart the whole thing all the time, and the re-open models deep down the library browser tree.
Please make sure any change to those flag is effective immediately, as it used to be the case until recently.
This is because you are changing the global flags and your local model flags have different values. The local flags have the precedence over global flags. When you restart OMEdit then there are no local flags. So the model uses the global flags for the first time. See ticket:5329#comment:3