Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#4070 closed defect (fixed)

OMEdit Options dialog messed up

Reported by: Rüdiger Franke Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: v1.11.0
Keywords: Cc: Martin Sjölund

Description (last modified by Rüdiger Franke)

The OMEdit Options dialog shows Plotting options under Plotting and Figaro, Figaro under Debugger, ..., FMI under TLM.

Moreover: an FMI Platform selection "None" will be lost upon restart of OMEdit and replaced with the default "Static".

Change History (5)

comment:1 by Rüdiger Franke, 8 years ago

Description: modified (diff)

comment:2 by Adeel Asghar, 8 years ago

Cc: Martin Sjölund added
Status: newaccepted

The Options dialog pages sequence is fixed in 2c0eb7f/OMEdit.

For the option None we have this in the code,

QStringList platforms;
QString linking = mpFMIPage->getLinkingComboBox()->itemData(mpFMIPage->getLinkingComboBox()->currentIndex()).toString();
if (linking.compare("none") != 0) {
  platforms.append(linking);
}

So the None option is never saved. I am not sure why I did this :). But if I look at buildModelFMU I see that there is no None option so perhaps we can just remove None. Also dynamic is the default option whereas in OMEdit static is used as default option.

comment:3 by Rüdiger Franke, 8 years ago

None is important if only cross compilation targets are needed (the check boxes below the selector). This is why it should be kept.

comment:4 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in 75849b0/OMEdit.

comment:5 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.