Skip to content

Commit

Permalink
Make sure when a file is opened, it is saved to config.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoathaydes committed Sep 14, 2021
1 parent bb54429 commit 594c7d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/athaydes/logfx/LogFX.java
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ private boolean openViewFor( LogFile logFile, int index ) {
logsPane.add( view, () -> config.getObservableFiles().remove( logFile ), index,
topViewMenu.getEditGroupCallback() );

config.getObservableFiles().add( logFile );

return true;
}

Expand Down

0 comments on commit 594c7d3

Please sign in to comment.
-