﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6062	Proper handling of changed global settings	Oliver Lenord	Adeel Asghar	"As reported in [https://trac.openmodelica.org/OpenModelica/ticket/6059] and [https://trac.openmodelica.org/OpenModelica/ticket/6061] it is unexpected that changes to the settings, e.g. compiler flags, are not carried over to the simulation unless OMEdit is restarted.

The dialog box has a disclaimer saying: ""Global flags applied to the Simulation Setup dialog upon the first simulation of a model.""

In other words once a model has been simulated the only way to apply changes to the settings is through the ""Simulation Setup"" dialog.

None of the following helps to update the local settings:
* Simulate
* Re-simulate
* Re-simulate Setup (at least this should work)
* Unload+reload+simulate 
* Delete results+simulate
Only a restart of OMEdit will carry over the global settings to the new simulation.


As this behavior is at least partially unexpected it can cause a significant amount of frustration when trying out different compiler flags.

I suggest that when a model is re-compiled, then it should also appreciate the latest global settings."	enhancement	new	normal	Future	OMEdit	v1.16.0-dev		compiler flags	
