fix #8143 Make login dialog modal
authorPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 25 Feb 2019 17:22:42 +0000 (18:22 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 25 Feb 2019 17:22:42 +0000 (18:22 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/RemotingLoginDialog.java

index 48e826e1169148daab423e89ac7009c35bce783c..da4d158680a6aea94603d4a4f853d6786511840a 100644 (file)
@@ -224,7 +224,7 @@ public class RemotingLoginDialog extends Dialog implements ICDMServerError {
      * Create contents of the dialog.
      */
     private void createContents() {
-        shlConnect = new Shell(getParent(), SWT.DIALOG_TRIM);
+        shlConnect = new Shell(getParent(), SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);
         shlConnect.setMinimumSize(new Point(MIN_WIDTH, MIN_HEIGHT));
         shlConnect.setSize(MIN_WIDTH, MIN_HEIGHT);
         shlConnect.setText(Messages.RemotingLoginDialog_LABEL_CONNECT);