diff options
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java index f3de78af..8f670bd3 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java +++ b/trunk/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(); } } } |