diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-12 22:11:02 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-12 22:11:02 +0100 |
commit | c324c183d383c70569c2dd29894b0ed77be45aff (patch) | |
tree | 44e35847047a0f42a335680b54b07a941fb30cd1 /trunk | |
parent | e0baed2c6ef75b87afb3fc73c326bd2a6c38ae19 (diff) | |
download | pdf-over-c324c183d383c70569c2dd29894b0ed77be45aff.tar.gz pdf-over-c324c183d383c70569c2dd29894b0ed77be45aff.tar.bz2 pdf-over-c324c183d383c70569c2dd29894b0ed77be45aff.zip |
Layout after reloading resources
Diffstat (limited to 'trunk')
-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(); } } } |