Skip to content

Commit 84dd5d8

Browse files
author
mplieske
committed
added if clause at end of init function again for debug reasons
1 parent 50c5d98 commit 84dd5d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ private void initialize() {
130130
useHotkeyCheckBox.isSelected(), displayProjectsRightCheckBox.isSelected(),
131131
hideProjectsOnMouseExitCheckBox.isSelected());
132132
thisStage.close();
133+
134+
133135
});
134136

135137
LOG.debug("cancelButton.setOnAction");
@@ -155,6 +157,12 @@ private void initialize() {
155157
}
156158
});
157159

160+
if (System.getProperty("os.name").contains("Linux")) {
161+
useHotkeyCheckBox.setDisable(true);
162+
useHotkeyLabel.setDisable(true);
163+
hotkeyLabel.setDisable(true);
164+
globalKeyloggerLabel.setDisable(true);
165+
}
158166
}
159167

160168
public void setController(final Controller controller) {

0 commit comments

Comments
 (0)