diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:22:10 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:22:10 +0000 |
commit | 70ddb9fae69b846031c6a678aa850aedfb6d1bea (patch) | |
tree | 66314dd5c2a3b601a44a8734d7fbb463aaef0102 /pdf-over-gui | |
parent | efac472d42715e583416442554d3c55873f8e85d (diff) | |
download | mocca-70ddb9fae69b846031c6a678aa850aedfb6d1bea.tar.gz mocca-70ddb9fae69b846031c6a678aa850aedfb6d1bea.tar.bz2 mocca-70ddb9fae69b846031c6a678aa850aedfb6d1bea.zip |
Layout after reloading resources
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@283 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
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(); } } } |