File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
src/main/java/de/doubleslash/keeptime/view Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ public class SettingsController {
4747 AboutController aboutController ;
4848 Stage aboutStage ;
4949
50- private static final String OS_NAME = "os.name" ;
51-
5250 @ FXML
5351 private ColorPicker hoverBackgroundColor ;
5452 @ FXML
@@ -127,12 +125,8 @@ private void initialize() {
127125 LOG .warn ("hotkeyLabel is null" );
128126 }
129127
130- if (globalKeyloggerLabel != null ) {
131- LOG .debug ("globalKeyloggerLabel is initialized" );
132- globalKeyloggerLabel .setDisable (true );
133- } else {
134- LOG .warn ("globalKeyloggerLabel is null" );
135- }
128+ LOG .debug ("globalKeyloggerLabel is initialized" );
129+ globalKeyloggerLabel .setDisable (true );
136130 }
137131
138132 LOG .debug ("saveButton.setOnAction" );
@@ -190,7 +184,7 @@ private void initialize() {
190184 thisStage .close ();
191185 });
192186
193- LOG .debug ("reset*Button .setOnAction" );
187+ LOG .debug ("resetButton .setOnAction" );
194188 resetHoverBackgroundButton
195189 .setOnAction (ae -> hoverBackgroundColor .setValue (Model .ORIGINAL_HOVER_BACKGROUND_COLOR ));
196190 resetHoverFontButton .setOnAction (ae -> hoverFontColor .setValue (Model .ORIGINAL_HOVER_Font_COLOR ));
You can’t perform that action at this time.
0 commit comments