Forráskód Böngészése

bugfix wrt undo/modified

Nicolas Cannasse 4 éve
szülő
commit
3d516b9038
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      hide/view/FileView.hx

+ 1 - 0
hide/view/FileView.hx

@@ -50,6 +50,7 @@ class FileView extends hide.ui.View<{ path : String }> {
 		if( modified && !ide.confirm('${state.path} has been modified, reload and ignore local changes?') )
 		if( modified && !ide.confirm('${state.path} has been modified, reload and ignore local changes?') )
 			return;
 			return;
 		modified = false;
 		modified = false;
+		lastSaveTag = 0;
 		undo.clear(); // prevent any undo that would reset past reload
 		undo.clear(); // prevent any undo that would reset past reload
 		if( rebuildView )
 		if( rebuildView )
 			rebuild();
 			rebuild();