diff options
Diffstat (limited to 'js/ui/menu/menu-controller.js')
-rw-r--r-- | js/ui/menu/menu-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/ui/menu/menu-controller.js b/js/ui/menu/menu-controller.js index b6e045db..d93e96bd 100644 --- a/js/ui/menu/menu-controller.js +++ b/js/ui/menu/menu-controller.js | |||
@@ -55,7 +55,7 @@ exports.MenuController = Montage.create(Component, { | |||
55 | 55 | ||
56 | if(this._currentDocument && this._currentDocument.currentView === "design") { | 56 | if(this._currentDocument && this._currentDocument.currentView === "design") { |
57 | document.application.model.show3dGrid = this._currentDocument.model.draw3DGrid; | 57 | document.application.model.show3dGrid = this._currentDocument.model.draw3DGrid; |
58 | this.topLevelMenu[2].entries[4].checked = this._currentDocument.model.draw3DGrid; | 58 | this.topLevelMenu[2].entries[5].checked = this._currentDocument.model.draw3DGrid; |
59 | } | 59 | } |
60 | 60 | ||
61 | if(!this._currentDocument) { | 61 | if(!this._currentDocument) { |
@@ -150,7 +150,7 @@ exports.MenuController = Montage.create(Component, { | |||
150 | 150 | ||
151 | handlegrid: { | 151 | handlegrid: { |
152 | value: function(value) { | 152 | value: function(value) { |
153 | this.topLevelMenu[2].entries[4].checked = !this.topLevelMenu[2].entries[4].checked; | 153 | this.topLevelMenu[2].entries[5].checked = !this.topLevelMenu[2].entries[5].checked; |
154 | document.application.model.show3dGrid = this.topLevelMenu[2].entries[4].checked; | 154 | document.application.model.show3dGrid = this.topLevelMenu[2].entries[4].checked; |
155 | } | 155 | } |
156 | }, | 156 | }, |