author | leseb <leseb> | 2002-07-07 16:07:13 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-07-07 16:07:13 (UTC) |
commit | a72877e867e70784e3c865fa2948ac40f72b5c39 (patch) (side-by-side diff) | |
tree | ad985b59d3658e80617bf820350488c674252e1f /core | |
parent | 72497e9298d84a711114bb49e3c9454fabca50db (diff) | |
download | opie-a72877e867e70784e3c865fa2948ac40f72b5c39.zip opie-a72877e867e70784e3c865fa2948ac40f72b5c39.tar.gz opie-a72877e867e70784e3c865fa2948ac40f72b5c39.tar.bz2 |
Fix menu index for scrollbar position
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index 8b1e066..36b9b1e 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp @@ -805,17 +805,17 @@ void Konsole::scrollMenuSelected(int index) TEWidget* te = getTe(); Config cfg("Konsole"); cfg.setGroup("ScrollBar"); switch( index){ - case -24: + case -25: te->setScrollbarLocation(0); cfg.writeEntry("Position",0); break; - case -25: + case -26: te->setScrollbarLocation(1); cfg.writeEntry("Position",1); break; - case -26: + case -27: te->setScrollbarLocation(2); cfg.writeEntry("Position",2); break; }; |