-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index efcb1f2..f154bb8 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp @@ -54,3 +54,2 @@ - class EKNumTabBar : public QTabBar { @@ -114,2 +113,3 @@ static const char *commonCmds[] = "echo ", + "env", "find ", @@ -123,3 +123,2 @@ static const char *commonCmds[] = "nc localhost 7777", - "netstat ", "nslookup ", @@ -299,6 +298,8 @@ void Konsole::init(const char* _pgm, QStrList & _args) - if( listHidden) - secondToolBar->hide(); configMenu->insertItem( "Edit Command List"); - + if( listHidden) { + secondToolBar->hide(); + configMenu->setItemEnabled(-20 ,FALSE); + } + cfg.setGroup("Commands"); |