mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
Add option to clear text from the packetlogger
Signed-off-by: Eduardo Alonso <edu@error404software.com>
This commit is contained in:
parent
cf4aa16148
commit
0afbaac944
@ -227,4 +227,8 @@ public class UiLoggerController implements Initializable {
|
|||||||
stage.setAlwaysOnTop(!alwaysOnTop);
|
stage.setAlwaysOnTop(!alwaysOnTop);
|
||||||
alwaysOnTop = !alwaysOnTop;
|
alwaysOnTop = !alwaysOnTop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void clearText(ActionEvent actionEvent) {
|
||||||
|
area.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,10 @@
|
|||||||
</accelerator></CheckMenuItem>
|
</accelerator></CheckMenuItem>
|
||||||
<CheckMenuItem fx:id="chkSkipBigPackets" mnemonicParsing="false" onAction="#toggleSkipPackets" selected="true" text="Skip big packets" />
|
<CheckMenuItem fx:id="chkSkipBigPackets" mnemonicParsing="false" onAction="#toggleSkipPackets" selected="true" text="Skip big packets" />
|
||||||
<CheckMenuItem fx:id="chkAlwaysOnTop" mnemonicParsing="false" onAction="#toggleAlwaysOnTop" text="Always on top" />
|
<CheckMenuItem fx:id="chkAlwaysOnTop" mnemonicParsing="false" onAction="#toggleAlwaysOnTop" text="Always on top" />
|
||||||
|
<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>
|
||||||
</Menu>
|
</Menu>
|
||||||
</MenuBar>
|
</MenuBar>
|
||||||
</top>
|
</top>
|
||||||
|
Loading…
Reference in New Issue
Block a user