Skip to content

Commit

Permalink
empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rjolly committed May 10, 2018
1 parent 0bdc858 commit feeae44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/linoleum/FileManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ private void process(final WatchEvent<?> event) {
}

private WatchKey register(final WatchService service) throws IOException {
setTitle(path.getFileName().toString());
setTitle(getFileName(path).toString());
return path.register(service, StandardWatchEventKinds.ENTRY_CREATE, StandardWatchEventKinds.ENTRY_DELETE, StandardWatchEventKinds.ENTRY_MODIFY, StandardWatchEventKinds.OVERFLOW);
}

Expand Down

0 comments on commit feeae44

Please sign in to comment.