aseba-community / aseba

Aseba is a set of tools which allow beginners to program robots easily and efficiently. To contact us, please open an issue.
http://aseba.wikidot.com
GNU Lesser General Public License v3.0
49 stars 61 forks source link

When opening a file in a fresh VPL window, alert to save changes #823

Open ypiguet-epfl opened 6 years ago

ypiguet-epfl commented 6 years ago

In Aseba Studio 1.6, in the VPL window opened immediately after launch, when clicking the Open icon to open an aesl file, an alert is displayed: The document "Untitled" has been modified. Do you want to save your changes or discard them?

Suggestion: don't display this alert if there is no change to save.

stephanemagnenat commented 6 years ago

If the window opens when the AESL file has no VPL code it is a bug, as it should not. Does it happen with all AESL files, or only some?

ypiguet-epfl commented 6 years ago

It's before any aesl file has been opened. To reproduce (tested with 1.6 on macOS 10.12):

You get the alert, which for me is a bug.