[gnome-maps/wip/osm-edit: 44/47] osmEdit: Actually make the save button initially insensitive when loading.



commit c498e4442b7284552ec8b7ad309f2029f633710b
Author: Marcus Lundblad <ml update uu se>
Date:   Thu Mar 26 22:13:38 2015 +0100

    osmEdit: Actually make the save button initially insensitive when loading.

 src/mapBubble.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mapBubble.js b/src/mapBubble.js
index c80c87e..5e16944 100644
--- a/src/mapBubble.js
+++ b/src/mapBubble.js
@@ -219,9 +219,9 @@ const MapBubble = new Lang.Class({
     _onObjectFetched: function(success, status, data) {
        if (success) {
            this._editGrid.sensitive = true;
+           this._loadOSMData(data);
            // keep the save button insensitive until the user has done a change
            this._saveButton.sensitive = false;
-           this._loadOSMData(data);
        } else
            this._showError(status);
     },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]