fix #5796 Set focus to search field in bulk editor
authorPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 18 Aug 2016 12:00:36 +0000 (14:00 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 18 Aug 2016 12:00:36 +0000 (14:00 +0200)
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/BulkEditor.java

index 93c471ee3e42f0a042b8cd19a006fc8b2c7b4753..6ff1cf045cedd2677a544579c2a6c77723f4228f 100644 (file)
@@ -169,7 +169,6 @@ public class BulkEditor extends AnnotatedLineEditor implements IPartContentHasDe
        @Override
        public void setFocus() {
            conversation.bind();
-               searchBar.setFocus();
 
                // TODO find a better place to put this - this dialog should be shown after initial contents of
                //      Editor are displayed
@@ -178,6 +177,7 @@ public class BulkEditor extends AnnotatedLineEditor implements IPartContentHasDe
                        isInitialFocus = false;
                }
                super.setFocus();
+               searchBar.setFocus();
        }
 
        private void displayWarningDialog() {