File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/de/doubleslash/keeptime Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ private void readSettings() {
182182 settings .setHoverFontColor (Model .ORIGINAL_HOVER_Font_COLOR );
183183 settings .setUseHotkey (false );
184184 settings .setDisplayProjectsRight (false );
185- settings .setHideProjectsOnMouseExit (true );
185+ settings .setHideProjectsOnMouseExit (false );
186186 model .getSettingsRepository ().save (settings );
187187 } else {
188188 settings = settingsList .get (0 );
Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ private void initialize() {
120120 useHotkeyCheckBox .setDisable (true );
121121 hotkeyLabel .setDisable (true );
122122 globalKeyloggerLabel .setDisable (true );
123- displayProjectsRightCheckBox .setDisable (true );
124123 }
125124
126125 LOG .debug ("saveButton.setOnAction" );
@@ -154,13 +153,14 @@ private void initialize() {
154153
155154 alert .showAndWait ();
156155 }
157- if (!displayProjectsRightCheckBox .isSelected ()) {
158- displayProjectsRightCheckBox .setSelected (true );
156+ if (!displayProjectsRightCheckBox .isSelected () && hideProjectsOnMouseExitCheckBox . isSelected () ) {
157+ hideProjectsOnMouseExitCheckBox .setSelected (false );
159158 final Alert warning = new Alert (AlertType .WARNING );
160159 warning .setTitle ("Warning!" );
161160 warning .setHeaderText ("No Linux Support" );
162161 warning .getDialogPane ().setMinHeight (Region .USE_PREF_SIZE );
163- warning .setContentText ("The project list on the left side has no Linux support. Resetting it." );
162+ warning .setContentText (
163+ "The project list on the left side has no Linux support if projects should be hidden. Disabling hiding of project list." );
164164 warning .showAndWait ();
165165 }
166166 }
You can’t perform that action at this time.
0 commit comments