﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3670	OMEdit does not apply Target Compiler and Target Language setting after restart	Rüdiger Franke	Adeel Asghar	"The recent version 1.9.4 offers the new GUI dialogs
   Tools->Options->Simulation->Target Language
   Tools->Options->Simulation->Target Compiler

These settings are kept upon restart, but are not applied anymore. The bug can be reproduced as follows:
  1. open OMEdit
  2. select Target Language: Cpp and Target Compiler: msvc
  3. close OMEdit
  4. open OMEdit
  5. select a model, e.g. Modelica.Blocks.Examples.Filter
  6. simulate the model --> the default settings C and gcc will be used

The options are applied after opening the Tools->Options->Simulation dialog and confirming the settings with OK before simulating (or FMU exporting) a model.

This bug is seen a blocker because the new feature is explicitly announced in the release notes and should work then.

When fixing the ticket, could possibly the layout of the Target Language dialog be changed from:
  C | CSharp | Cpp | ...
to:
  C | Cpp | CSharp | ...

Alternatively a lexographical order:
  None | Adevs | C | Cpp | CSharp | Java | JavaScript | sfmi | XML

"	defect	closed	blocker	1.9.4	OMEdit	v1.9.4-dev-nightly	fixed		
