Opened 14 years ago

Last modified 14 years ago

#1376 closed defect (fixed)

In the text mode the OMEdit menu items are grayed out so you cannot save the model

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: critical Milestone:
Component: Interactive Model Editor Interface Version:
Keywords: Cc: Adrian Pop, Adeel Asghar

Description

When you make a new Model, go to the Text Mode and write your model via text
the File menu and toolbar are grayed out so you *CANNOT SAVE* the model.

Attachments (1)

OMEdit-cannot-save.png (58.8 KB ) - added by Adrian Pop 14 years ago.

Download all attachments as: .zip

Change History (3)

by Adrian Pop, 14 years ago

Attachment: OMEdit-cannot-save.png added

comment:1 by Adrian Pop, 14 years ago

I think that even if the model is read-only the save toolbar and save menu should not be grayed out. You should only display a warning on save:

file is read-only, are you sure you want to overwrite it?

comment:2 by Adeel Asghar, 14 years ago

You can not save readonly models. The readonly models are those that are defined in MSL. However, now you can save your own models and the application is not grayed out.

Not graying out the application when user is in text view can lead to other problems, but it tried to fix them and hopefully it will work fine.

Note: See TracTickets for help on using tickets.