From 70ddb9fae69b846031c6a678aa850aedfb6d1bea Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:22:10 +0000 Subject: Layout after reloading resources git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@283 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java index f3de78af..8f670bd3 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java @@ -145,8 +145,8 @@ public class MainWindow { // Note: SWT only layouts children! No grandchildren! if (ctrl instanceof StateComposite) { if (!ctrl.isDisposed()) { - ((StateComposite) ctrl).doLayout(); ((StateComposite) ctrl).reloadResources(); + ((StateComposite) ctrl).doLayout(); } } } @@ -193,6 +193,7 @@ public class MainWindow { if (ctrl instanceof StateComposite) { if (!ctrl.isDisposed()) { ((StateComposite) ctrl).reloadResources(); + ((StateComposite) ctrl).doLayout(); } } } -- cgit v1.2.3