add new task       

Task ID:  6184  Open con file presents a save dialog    
Created by har297 on 2016-10-09 2:44 PM, 865 days ago
Project:  User Interface
Category:  Bug
Priority:  [no priority]
Assigned to:  [not assigned]  
Status:  closed
Apsim Version:7.8
Your Name:
Contact Details:

show inline images      show change history

 comment 42583 posted by hol353 on 2017-04-21 3:16 PM, 671 days ago 

Added a question on whether to save or not when an example simulation is loaded that hasn't been saved.


 comment 42567 posted by har297 on 2017-04-20 5:32 PM, 672 days ago 

Ok, interestingly when I load in a current simulation, modify it without saving and then select to open a .con file, the open file dialog appears and the changed simulation is secretly saved.

If I open an example simulation, which is 'Untitled' and then select to open a previous simulation from the list, a dialog box appears saying that the current file has changed and do I want to save it. However, instead, if I select to open a .con file, there is no dialog box asking if I want to save the current simulation. The save dialog box immediately appears with no option to say I don't want to save it.

file 42552 attached by hol353 on 2017-04-20 3:18 PM, 672 days ago 

attachment: Capture.PNG   view   save

size: 31303   content-type: image/png

 comment 42551 posted by hol353 on 2017-04-20 3:17 PM, 672 days ago 

Hmmm mine doesn't - see attachment. Perhaps it is asking if you want to save the modified file before opening a .con file?




 comment 42470 posted by har297 on 2016-10-09 2:44 PM, 865 days ago 

If s simulation is open in and marked as changed (asterisk), choosing "Open con file" presents a dialog with a "save" button instead of an "open" button.