diff options
author | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2021-07-12 14:39:23 +0200 |
---|---|---|
committer | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2021-07-12 14:39:23 +0200 |
commit | 3e6963a6070417e2da4b03fc9a39558e63e49768 (patch) | |
tree | 155d65d83ad50305016d8e64f49be926de27b269 /pdf-over-gui/src | |
parent | 9d3568d62141153cb901c9b1a45e71dc03bbf717 (diff) | |
download | pdf-over-3e6963a6070417e2da4b03fc9a39558e63e49768.tar.gz pdf-over-3e6963a6070417e2da4b03fc9a39558e63e49768.tar.bz2 pdf-over-3e6963a6070417e2da4b03fc9a39558e63e49768.zip |
Code Cleanup
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java | 8 |
1 files changed, 1 insertions, 7 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 da004747..0a5e566e 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 @@ -326,13 +326,7 @@ public class PositioningComposite extends StateComposite { private SelectionListener selectionListener = new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { - System.out.println("selection: " + PositioningComposite.this.scrollbar.getSelection()); - int selection = PositioningComposite.this.scrollbar.getSelection(); - if (selection < 0) { - selection = 0; - System.out.println("corrected selecttion to: " + selection); - } - PositioningComposite.this.showPage(selection); + PositioningComposite.this.showPage(PositioningComposite.this.scrollbar.getSelection()); } }; |