Update HelpTab.java
This commit is contained in:
parent
f16d2991df
commit
5c89e9e1bc
|
@ -1,7 +1,6 @@
|
|||
package ctbrec.ui.tabs;
|
||||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.OS;
|
||||
import ctbrec.docs.DocServer;
|
||||
import ctbrec.ui.DesktopIntegration;
|
||||
import javafx.application.Platform;
|
||||
|
@ -32,7 +31,6 @@ public class HelpTab extends Tab {
|
|||
Button openCfg = new Button("Open config dir");
|
||||
openHelp.setPadding(new Insets(20));
|
||||
openLog.setPadding(new Insets(20));
|
||||
Label logFilePathLabel = new Label("Log: " + new File("ctbrec.log").getAbsolutePath());
|
||||
openCfg.setPadding(new Insets(20));
|
||||
Label logFilePathLabel = new Label("Log file: " + new File("ctbrec.log").getAbsolutePath());
|
||||
File cfgDir = Config.getInstance().getConfigDir();
|
||||
|
@ -81,7 +79,6 @@ public class HelpTab extends Tab {
|
|||
log.warn("Log file doesn't exist: {}", logFile.getAbsolutePath());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
openCfg.setOnAction(e -> {
|
||||
File configDir = Config.getInstance().getConfigDir();
|
||||
|
@ -105,6 +102,7 @@ public class HelpTab extends Tab {
|
|||
log.warn("Config dir doesn't exist: {}", configDir.getAbsolutePath());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void startDocumentationServer() {
|
||||
new Thread(() -> {
|
||||
|
|
Loading…
Reference in New Issue