diff options
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java index 9528dd1e..922e278b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java +++ b/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); |