--- a/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/editors/common/CarbideFormEditor.java Fri Aug 07 15:25:12 2009 -0500
+++ b/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/editors/common/CarbideFormEditor.java Fri Aug 07 15:50:06 2009 -0500
@@ -188,9 +188,6 @@
baseEditorContext.textEditorContext = undoManager.getUndoContext();
baseEditorContext.allContext.addMatch(baseEditorContext.textEditorContext);
baseEditorContext.modelOperationContext.addMatch(baseEditorContext.textEditorContext);
-
- // mark the buffer dirty to inhibit auto-reload. See comments on setBufferDirty
- textEditorPage.setBufferDirty(true);
}
@Override
@@ -236,6 +233,8 @@
// user must have undone everything.
result = true;
}
+ // mark the buffer dirty to inhibit auto-reload. See comments on setBufferDirty
+ textEditorPage.setBufferDirty(result);
return result;
}