summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp11
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
@@ -53,5 +53,4 @@
#include "keytrans.h"
-
class EKNumTabBar : public QTabBar {
public:
@@ -113,4 +112,5 @@ static const char *commonCmds[] =
"dmesg",
"echo ",
+ "env",
"find ",
"free",
@@ -122,5 +122,4 @@ static const char *commonCmds[] =
"nc localhost 7776",
"nc localhost 7777",
- "netstat ",
"nslookup ",
"ping ",
@@ -298,8 +297,10 @@ void Konsole::init(const char* _pgm, QStrList & _args)
commonCombo = new QComboBox( secondToolBar );
- if( listHidden)
- secondToolBar->hide();
configMenu->insertItem( "Edit Command List");
-
+ if( listHidden) {
+ secondToolBar->hide();
+ configMenu->setItemEnabled(-20 ,FALSE);
+ }
+
cfg.setGroup("Commands");
commonCombo->setInsertionPolicy(QComboBox::AtCurrent);