Explorar o código

Add in extra check to set ui state

James Allen %!s(int64=9) %!d(string=hai) anos
pai
achega
30618d33db
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      services/web/public/coffee/ide/editor/EditorManager.coffee

+ 1 - 0
services/web/public/coffee/ide/editor/EditorManager.coffee

@@ -164,6 +164,7 @@ define [
 			want = @$scope.editor.wantTrackChanges
 			have = doc.getTrackingChanges()
 			if want == have
+				@$scope.editor.trackChanges = want
 				return
 
 			do tryToggle = () =>