author | llornkcor <llornkcor> | 2002-11-01 01:20:04 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-01 01:20:04 (UTC) |
commit | 8f506dbc2b70df5ea0dd6c61014d20b433b1372f (patch) (unidiff) | |
tree | f70b808e9cd74119ca7957faf1b8451f4bc88aaf /core/apps | |
parent | 4d2569e18b7f3e27c5d603c080ee3aee5a001231 (diff) | |
download | opie-8f506dbc2b70df5ea0dd6c61014d20b433b1372f.zip opie-8f506dbc2b70df5ea0dd6c61014d20b433b1372f.tar.gz opie-8f506dbc2b70df5ea0dd6c61014d20b433b1372f.tar.bz2 |
fix ischecked wrap menu
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index 06bee33..5a68c81 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -1014,19 +1014,19 @@ void Konsole::doWrap() { | |||
1014 | int i; | 1014 | int i; |
1015 | #ifdef QWS_QT_OPIE | 1015 | #ifdef QWS_QT_OPIE |
1016 | i=-29; | 1016 | i=-29; |
1017 | #else | 1017 | #else |
1018 | i=-28; | 1018 | i=-28; |
1019 | #endif | 1019 | #endif |
1020 | 1020 | ||
1021 | Config cfg("Konsole"); | 1021 | Config cfg("Konsole"); |
1022 | cfg.setGroup("ScrollBar"); | 1022 | cfg.setGroup("ScrollBar"); |
1023 | TEWidget* te = getTe(); | 1023 | TEWidget* te = getTe(); |
1024 | if( !cfg.readBoolEntry("HorzScroll",0)) { | 1024 | if( !cfg.readBoolEntry("HorzScroll",0)) { |
1025 | te->setWrapAt(0); | 1025 | te->setWrapAt(0); |
1026 | configMenu->setItemChecked( i,FALSE); | 1026 | configMenu->setItemChecked( i,TRUE); |
1027 | } else { | 1027 | } else { |
1028 | te->setWrapAt(90); | 1028 | te->setWrapAt(90); |
1029 | // te->setWrapAt(120); | 1029 | // te->setWrapAt(120); |
1030 | configMenu->setItemChecked( i,TRUE); | 1030 | configMenu->setItemChecked( i,FALSE); |
1031 | } | 1031 | } |
1032 | } | 1032 | } |