fixes for 107, properly handle undo/redo setting sketch mod, and set sketch mod on context menu actions

This commit is contained in:
benfry
2006-03-02 15:34:28 +00:00
parent f65ceeddc8
commit a654aa0328
9 changed files with 44 additions and 32 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ public class FindReplace extends JFrame implements ActionListener {
editor.textarea.setSelectedText(replaceField.getText());
//editor.setSketchModified(true);
//editor.sketch.setCurrentModified(true);
editor.sketch.setModified();
editor.sketch.setModified(true);
// don't allow a double replace
replaceButton.setEnabled(false);