From b11cf1b59aa403a63f5fcaf47bf7c755780ba79a Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Thu, 3 Nov 2022 14:19:39 +0100 Subject: auto-focus smstan input --- .../gui/composites/mobilebku/MobileBKUEnterTANComposite.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'pdf-over-gui/src/main') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java index 3f69965b..b09d5b57 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/mobilebku/MobileBKUEnterTANComposite.java @@ -261,15 +261,8 @@ public class MobileBKUEnterTANComposite extends StateComposite { // Disable the check that prevents subclassing of SWT components } - /* - * (non-Javadoc) - * - * @see at.asit.pdfover.gui.composites.StateComposite#doLayout() - */ - @Override - public void doLayout() { - // Nothing to do - } + @Override public void doLayout() { getShell().setDefaultButton(btn_ok); } + @Override public void onDisplay() { txt_tan.setFocus(); } /* * (non-Javadoc) -- cgit v1.2.3