summaryrefslogtreecommitdiff
authorleseb <leseb>2002-07-07 18:57:45 (UTC)
committer leseb <leseb>2002-07-07 18:57:45 (UTC)
commit4ea08fb02ae82dcbc8ee6d2c9f1255e753384115 (patch) (side-by-side diff)
tree2ae02b4da45976639fcb276f2f5d55773ebd76b6
parent5239f6512929c5d98c79fc1ca4a5fac016bb961c (diff)
downloadopie-4ea08fb02ae82dcbc8ee6d2c9f1255e753384115.zip
opie-4ea08fb02ae82dcbc8ee6d2c9f1255e753384115.tar.gz
opie-4ea08fb02ae82dcbc8ee6d2c9f1255e753384115.tar.bz2
*** empty log message ***
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 63073c4..f3792e4 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -335,13 +335,13 @@ void Konsole::init(const char* _pgm, QStrList & _args)
commonCombo = new QComboBox( secondToolBar );
commonCombo->setMaximumWidth(236);
editCommandListMenu->insertItem( tr( "Quick Edit" ) );
if( listHidden) {
secondToolBar->hide();
- editCommandListMenu->setItemEnabled(-22 ,FALSE);
+ editCommandListMenu->setItemEnabled(-23 ,FALSE);
}
editCommandListMenu->insertItem(tr( "Edit" ) );
cfg.setGroup("Commands");
commonCombo->setInsertionPolicy(QComboBox::AtCurrent);
@@ -831,24 +831,24 @@ void Konsole::editCommandListMenuSelected(int iD)
cfg.setGroup("Menubar");
if( iD == -3) {
if(!secondToolBar->isHidden()) {
secondToolBar->hide();
configMenu->changeItem( iD,tr( "Show Command List" ));
cfg.writeEntry("Hidden","TRUE");
- configMenu->setItemEnabled(-22 ,FALSE);
+ configMenu->setItemEnabled(-23 ,FALSE);
} else {
secondToolBar->show();
configMenu->changeItem( iD,tr( "Hide Command List" ));
cfg.writeEntry("Hidden","FALSE");
- configMenu->setItemEnabled(-22 ,TRUE);
+ configMenu->setItemEnabled(-23 ,TRUE);
if(cfg.readEntry("EditEnabled","FALSE")=="TRUE") {
- configMenu->setItemChecked(-22,TRUE);
+ configMenu->setItemChecked(-23,TRUE);
commonCombo->setEditable( TRUE );
} else {
- configMenu->setItemChecked(-22,FALSE);
+ configMenu->setItemChecked(-23,FALSE);
commonCombo->setEditable( FALSE );
}
}
}
if( iD == -23) {
cfg.setGroup("Commands");