Skip to content

Commit

Permalink
Mark files opened with Open dialog as not modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Dec 13, 2015
1 parent 4fda7d4 commit c5b43ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/groovy/net/zomis/brainf/ui/MainController.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ private void runWith(RunStrategy strategy) {
TabController tab = createTab(file.getName());
tab.setCode(GroovyRead.file(file));
tab.getLoadSave().setFile(file);
tab.getLoadSave().notModified();
tabs.getSelectionModel().selectLast();
}
}
Expand Down

0 comments on commit c5b43ac

Please sign in to comment.