mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-26 21:40:29 +00:00
removed ALT+F4 shortcut, it is already registered by default
This commit is contained in:
parent
84e3cf0762
commit
3adffad087
@ -30,9 +30,7 @@ public class MainWindowSceneFactory extends DefaultSceneFactory {
|
||||
|
||||
@Override
|
||||
protected void setupDefaultAccelerators(Scene scene, Stage stage) {
|
||||
if (SystemUtils.IS_OS_WINDOWS) {
|
||||
scene.getAccelerators().put(ALT_F4, window::close);
|
||||
} else {
|
||||
if (!SystemUtils.IS_OS_WINDOWS) {
|
||||
scene.getAccelerators().put(SHORTCUT_W, window::close);
|
||||
}
|
||||
scene.getAccelerators().put(SHORTCUT_N, vaultListController.get()::didClickAddNewVault);
|
||||
|
Loading…
Reference in New Issue
Block a user