mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-31 12:52:36 +01:00
bugfixes
This commit is contained in:
parent
eb7c9f1829
commit
d612eb8c54
@ -262,20 +262,24 @@ public class UiLoggerController implements Initializable {
|
||||
}
|
||||
|
||||
public void onDisconnect() {
|
||||
if (chkHideOnDisconnect.isSelected()) {
|
||||
stage.hide();
|
||||
}
|
||||
if (chkResetOnDisconnect.isSelected()) {
|
||||
clearText(null);
|
||||
}
|
||||
Platform.runLater(() -> {
|
||||
if (chkHideOnDisconnect.isSelected()) {
|
||||
stage.hide();
|
||||
}
|
||||
if (chkResetOnDisconnect.isSelected()) {
|
||||
clearText(null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void onConnect() {
|
||||
if (chkResetOnConnect.isSelected()) {
|
||||
clearText(null);
|
||||
}
|
||||
if (chkOpenOnConnect.isSelected()) {
|
||||
stage.show();
|
||||
}
|
||||
Platform.runLater(() -> {
|
||||
if (chkResetOnConnect.isSelected()) {
|
||||
clearText(null);
|
||||
}
|
||||
if (chkOpenOnConnect.isSelected()) {
|
||||
stage.show();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -38,10 +38,7 @@
|
||||
<accelerator>
|
||||
<KeyCodeCombination alt="UP" code="L" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
|
||||
</accelerator></CheckMenuItem>
|
||||
<CheckMenuItem fx:id="chkClearText" mnemonicParsing="false" onAction="#clearText" text="Clear text">
|
||||
<accelerator>
|
||||
<KeyCodeCombination alt="UP" code="E" control="DOWN" meta="UP" shift="UP" shortcut="UP" />
|
||||
</accelerator></CheckMenuItem>
|
||||
<MenuItem mnemonicParsing="false" onAction="#clearText" text="Clear text" />
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Packets">
|
||||
<items>
|
||||
|
Loading…
x
Reference in New Issue
Block a user