Set use standby mode to false on non Win, OSX desktops

This commit is contained in:
ghubstan 2019-11-18 11:30:35 -03:00
parent ba0acd4724
commit dd8fd30e7c
No known key found for this signature in database
GPG Key ID: E35592D6800A861E

View File

@ -814,6 +814,8 @@ public class PreferencesView extends ActivatableViewAndModel<GridPane, Preferenc
if (displayStandbyModeFeature) {
avoidStandbyMode.setSelected(!preferences.isUseStandbyMode());
avoidStandbyMode.setOnAction(e -> preferences.setUseStandbyMode(!avoidStandbyMode.isSelected()));
} else {
preferences.setUseStandbyMode(false);
}
}