author | llornkcor <llornkcor> | 2002-02-03 14:11:38 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-02-03 14:11:38 (UTC) |
commit | ee82c470b34819d24de543b30f150788fb58b2f1 (patch) (unidiff) | |
tree | f1161e9dab6f77de6718fcf0e3a36e1ded4388f0 | |
parent | f3def578d169c0a937f418b2d956c73592190cda (diff) | |
download | opie-ee82c470b34819d24de543b30f150788fb58b2f1.zip opie-ee82c470b34819d24de543b30f150788fb58b2f1.tar.gz opie-ee82c470b34819d24de543b30f150788fb58b2f1.tar.bz2 |
fixed problem with commandlist and very long commands messing up the combo width, so you couldn't edit.
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index f154bb8..653652a 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -297,3 +297,3 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
297 | commonCombo = new QComboBox( secondToolBar ); | 297 | commonCombo = new QComboBox( secondToolBar ); |
298 | 298 | commonCombo->setMaximumWidth(236); | |
299 | configMenu->insertItem( "Edit Command List"); | 299 | configMenu->insertItem( "Edit Command List"); |
@@ -303,3 +303,3 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
303 | } | 303 | } |
304 | 304 | ||
305 | cfg.setGroup("Commands"); | 305 | cfg.setGroup("Commands"); |
@@ -387,3 +387,3 @@ void Konsole::enterCommand(int c) | |||
387 | } else { | 387 | } else { |
388 | changeCommand( commonCombo->text(c), c); | 388 | changeCommand( commonCombo->text(c), c); |
389 | } | 389 | } |
@@ -579,4 +579,3 @@ void Konsole::colorMenuSelected(int iD) | |||
579 | // QString temp; | 579 | // QString temp; |
580 | // temp.sprintf("%d", iD); | 580 | // qDebug( temp.sprintf("%d", iD)); |
581 | // qDebug(temp); | ||
582 | TEWidget* te = getTe(); | 581 | TEWidget* te = getTe(); |
@@ -687,5 +686,4 @@ void Konsole::configMenuSelected(int iD) | |||
687 | { | 686 | { |
688 | // QString temp; | 687 | QString temp; |
689 | // temp.sprintf("%d",iD); | 688 | qDebug( temp.sprintf("%d",iD)); |
690 | // qDebug(temp); | ||
691 | TEWidget* te = getTe(); | 689 | TEWidget* te = getTe(); |
@@ -753,3 +751,3 @@ void Konsole::changeCommand(const QString &text, int c) | |||
753 | commonCombo->clearEdit(); | 751 | commonCombo->clearEdit(); |
754 | commonCombo->setCurrentItem(c); | 752 | commonCombo->setCurrentItem(c); |
755 | } | 753 | } |
@@ -761,4 +759,4 @@ void Konsole::setColor() | |||
761 | cfg.setGroup("Colors"); | 759 | cfg.setGroup("Colors"); |
762 | int scheme = cfg.readNumEntry("Schema",1); | 760 | int scheme = cfg.readNumEntry("Schema",1); |
763 | if(scheme != 1) colorMenuSelected( -scheme); | 761 | if(scheme != 1) colorMenuSelected( -scheme); |
764 | 762 | ||