bugfix- save file prompt while creating a new tab linux

Signed-off-by: Umair <omerjerk@gmail.com>
This commit is contained in:
Umair
2014-08-23 20:26:59 +05:30
parent 25ed6fed3b
commit 70a02a6267
+3 -1
View File
@@ -2437,7 +2437,9 @@ public abstract class Editor extends JFrame implements RunnerListener {
//if the directory was deleted, then don't scan
if (finKey.isValid()) {
List<WatchEvent<?>> events = finKey.pollEvents();
processFileEvents(events);
if (!watcherSave) {
processFileEvents(events);
}
}
List<WatchEvent<?>> events = finKey.pollEvents();