diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-31 16:36:38 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-31 16:36:38 +0000 |
commit | 001c54c2bfa315db879d87d21d1a6cc5c7fd2d0d (patch) | |
tree | 7383262f1b15c5c805549f915fc92e61f5503636 /trunk/pdf-over-gui | |
parent | c9020e95969af213252555ebfcb77c202e25072a (diff) | |
download | pdf-over-001c54c2bfa315db879d87d21d1a6cc5c7fd2d0d.tar.gz pdf-over-001c54c2bfa315db879d87d21d1a6cc5c7fd2d0d.tar.bz2 pdf-over-001c54c2bfa315db879d87d21d1a6cc5c7fd2d0d.zip |
Use getDisplay instead of default
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12701 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java | 2 |
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); |