summaryrefslogtreecommitdiff
authorleseb <leseb>2002-07-07 18:38:50 (UTC)
committer leseb <leseb>2002-07-07 18:38:50 (UTC)
commit29afb9794560f9aa2342bf971ece66336d052b17 (patch) (side-by-side diff)
tree33a82050f295eded341ae9f81ddb281b98d2cc89
parent5a6d27d4ef5a00dfa041323938acdbdf80c726fd (diff)
downloadopie-29afb9794560f9aa2342bf971ece66336d052b17.zip
opie-29afb9794560f9aa2342bf971ece66336d052b17.tar.gz
opie-29afb9794560f9aa2342bf971ece66336d052b17.tar.bz2
Fix menu item index (again...)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 36b9b1e..63073c4 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -847,13 +847,13 @@ void Konsole::editCommandListMenuSelected(int iD)
} else {
configMenu->setItemChecked(-22,FALSE);
commonCombo->setEditable( FALSE );
}
}
}
- if( iD == -22) {
+ if( iD == -23) {
cfg.setGroup("Commands");
// qDebug("enableCommandEdit");
if( !configMenu->isItemChecked(iD) ) {
commonCombo->setEditable( TRUE );
configMenu->setItemChecked(iD,TRUE);
commonCombo->setCurrentItem(0);
@@ -863,13 +863,13 @@ void Konsole::editCommandListMenuSelected(int iD)
configMenu->setItemChecked(iD,FALSE);
cfg.writeEntry("EditEnabled","FALSE");
commonCombo->setFocusPolicy(QWidget::NoFocus);
te->setFocus();
}
}
- if(iD == -23) {
+ if(iD == -24) {
// "edit commands"
CommandEditDialog *m = new CommandEditDialog(this);
connect(m,SIGNAL(commandsEdited()),this,SLOT(initCommandList()));
m->showMaximized();
}