Skip to content
Snippets Groups Projects
Commit 6f8c807f authored by Uli Bähr's avatar Uli Bähr
Browse files

GuiController Walzenanzeige mit römischen Zahlen, zurücksetzen mit neu generiertem Spruchschlüssel

parent 5decea51
No related branches found
No related tags found
No related merge requests found
Pipeline #324 passed with stages
in 1 minute and 16 seconds
......@@ -282,7 +282,7 @@ public class GuiController {
*/
@FXML
private void gedrueckteTaste(ActionEvent e) {
if (e.getSource() == btnSenden) sendeFunkspruch();
if (e.getSource() == btnSenden && tfCodiert.getText()!="") sendeFunkspruch();
if (e.getSource() == btnEmpfangen) empfangeFunkspruch();
if (e.getSource() == btnDelete) loeschen();
if (e.getSource() == btnReset) {
......@@ -399,6 +399,8 @@ public class GuiController {
setzeRing(2, Integer.parseInt(mItm.getText()) - 1);
if (mBtn.getId().equals(mBtnNotchPos3.getId()))
setzeRing(3, Integer.parseInt(mItm.getText()) - 1);
tfCodiert.setText("");
tfKlartext.setText("");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment