-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 9 |
1 files changed, 5 insertions, 4 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,5 +298,7 @@ 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); + } |