mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-31 12:52:36 +01:00
change scheduler hotkey to match ui
This commit is contained in:
parent
7196512ee1
commit
7862828633
@ -12,6 +12,7 @@ import gearth.protocol.HPacket;
|
|||||||
import gearth.ui.SubForm;
|
import gearth.ui.SubForm;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
|
import java.awt.event.KeyEvent;
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
@ -116,7 +117,8 @@ public class Scheduler extends SubForm {
|
|||||||
Provider provider = Provider.getCurrentProvider(false);
|
Provider provider = Provider.getCurrentProvider(false);
|
||||||
for (int i = 0; i < 10; i++) {
|
for (int i = 0; i < 10; i++) {
|
||||||
int[] ii = {i};
|
int[] ii = {i};
|
||||||
provider.register(KeyStroke.getKeyStroke("control shift " + ii[0]), hotKey -> switchPauseHotkey(ii[0]));
|
// todo doesnt work on my pc for some reason
|
||||||
|
provider.register(KeyStroke.getKeyStroke("control alt " + ii[0]), hotKey -> switchPauseHotkey(ii[0]));
|
||||||
}
|
}
|
||||||
System.setErr(err);
|
System.setErr(err);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user