show error message for widget is disposed dialog
authorKatja Luther <k.luther@bgbm.org>
Fri, 1 Apr 2016 08:31:00 +0000 (10:31 +0200)
committerKatja Luther <k.luther@bgbm.org>
Fri, 1 Apr 2016 08:31:00 +0000 (10:31 +0200)
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java

index ff5c2cd94cb1f5ef9aa220520c4e1b5b312f3118..73c0052c8ac336b59fb2e42f7a307398fa9e5787 100644 (file)
@@ -137,11 +137,9 @@ public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
                        } else if (t != null && ("Widget is disposed".equals(t.getMessage()))){
                     MessagingUtils.warn(this.getClass(), t.getMessage());
                     if (PreferencesUtil.isDebugMode()){
-                        MessagingUtils.warningDialog("Widget is disposed", null, status);
+                        MessagingUtils.warningDialog("Widget is disposed", null, t.getMessage());
                     }
-                }{
-
-                       }
+                }
                    }
                }