-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 10 |
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 @@ -339,5 +339,5 @@ void Konsole::init(const char* _pgm, QStrList & _args) if( listHidden) { secondToolBar->hide(); - editCommandListMenu->setItemEnabled(-22 ,FALSE); + editCommandListMenu->setItemEnabled(-23 ,FALSE); } editCommandListMenu->insertItem(tr( "Edit" ) ); @@ -835,16 +835,16 @@ void Konsole::editCommandListMenuSelected(int iD) 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 ); } |