Skip to content

Commit

Permalink
fighting git #54
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed May 16, 2023
1 parent d2a80ed commit d66c60d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/beastfx/app/tools/LogCombinerController.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package beastfx.app.tools;



import java.io.File;
import java.net.URL;
import java.util.List;
Expand Down Expand Up @@ -76,9 +75,9 @@ public void initialize(URL location, ResourceBundle resources) {
fileTypeCombo.getSelectionModel().select(0);

browseButton.setOnAction(e -> {
File[] files = isTreeFiles() ?
FXUtils.getLoadFiles("Select log file", new File(ProgramStatus.g_sDir), "Trace or tree log files", "log", "trees") :
FXUtils.getLoadFiles("Select log file", new File(ProgramStatus.g_sDir), "Trace or tree log files", "trees", "log");
File file = isTreeFiles() ?
FXUtils.getSaveFile("Select output file...", new File(ProgramStatus.g_sDir), "Beast log and tree files", "log", "trees") :
FXUtils.getSaveFile("Select output file...", new File(ProgramStatus.g_sDir), "Beast log and tree files", "trees", "log");
if (file == null) {
// the dialog was cancelled...
return;
Expand Down

0 comments on commit d66c60d

Please sign in to comment.