git://git.nikiroo.be
/
fanfix-swing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8312353
)
Navbar: fix page starting at 1 instead of min
author
Niki Roo
<niki@nikiroo.be>
Mon, 4 May 2020 07:53:01 +0000
(09:53 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Mon, 4 May 2020 07:53:01 +0000
(09:53 +0200)
src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java
b/src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java
index bc79815790b8de7cb79eedea7746229b15477905..152fcc9aa2407a0945f2e4cf2adc1ad346c8126d 100644
(file)
--- a/
src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java
+++ b/
src/be/nikiroo/fanfix_swing/gui/viewer/NavBar.java
@@
-81,7
+81,7
@@
public class NavBar extends ListenerPanel {
}
});
- page = new JTextField(
"1"
);
+ page = new JTextField(
Integer.toString(min)
);
page.setPreferredSize(new Dimension(page.getPreferredSize().width * 2,
page.getPreferredSize().height));
page.addActionListener(new ActionListener() {