Skip to content

Commit 1c34b5d

Browse files
committed
try to fix the hotkey
1 parent 0f7694c commit 1c34b5d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/main/java/de/doubleslash/keeptime/view/SettingsController.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ public class SettingsController {
6161

6262
@FXML
6363
private Label versionLabel;
64-
64+
6565
@FXML
6666
private Label useHotkeyLabel;
67-
6867
@FXML
6968
private Label hotkeyLabel;
70-
7169
@FXML
7270
private Label globalKeyloggerLabel;
7371

@@ -78,13 +76,10 @@ public class SettingsController {
7876

7977
@FXML
8078
private void initialize() {
81-
if(System.getProperty("os.name").contains("Linux")) {
82-
83-
useHotkeyCheckBox.setVisible(false);
84-
useHotkeyLabel.setVisible(false);
85-
hotkeyLabel.setVisible(false);
86-
globalKeyloggerLabel.setVisible(false);
87-
}
79+
/*
80+
* if(System.getProperty("os.name").contains("Linux")) { useHotkeyCheckBox.setVisible(false);
81+
* useHotkeyLabel.setVisible(false); hotkeyLabel.setVisible(false); globalKeyloggerLabel.setVisible(false); }
82+
*/
8883
versionLabel.setText(Main.VERSION);
8984
saveButton.setOnAction(ae -> {
9085
log.info("Save clicked");

0 commit comments

Comments
 (0)