summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pdf-over-gui/src')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
index 9528dd1e..922e278b 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
@@ -178,7 +178,7 @@ public class PositioningComposite extends StateComposite {
void showPage(int page) {
this.currentPage = page;
- Display.getDefault().syncExec(new Runnable() {
+ this.getDisplay().syncExec(new Runnable() {
@Override
public void run() {
PositioningComposite.this.scrollbar.setSelection(PositioningComposite.this.currentPage);