processing/processing — pull request #2616 by joelmoniz (2014-06-27 13:06:10+00:00)
Title: Correct mode is now selected in modeMenu

This resolves [Issue #2615](https://github.com/processing/processing/issues/2615), where trying to change the Mode when there are unsaved changes doesn't change the mode, but shows the mode as being changed in the modeMenu popup. What has been done is that in case there are unsaved changes in the sketch, the last mode is selected again.