summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-11 15:09:39 (UTC)
committer harlekin <harlekin>2002-06-11 15:09:39 (UTC)
commitee1b955759e12b91a2caf7dfb219a372dadfe65b (patch) (side-by-side diff)
tree877b6b5e585f92052ac7f376703d4b1c3cc4489c
parentb4c905a143583bb3922d948961d6ce277fda6df4 (diff)
downloadopie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.zip
opie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.tar.gz
opie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.tar.bz2
now console remembers scrollbar setting on restart
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 3f6e0b4..b0d28fc 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -756,49 +756,49 @@ void Konsole::changeCommand(const QString &text, int c)
{
Config cfg("Konsole");
cfg.setGroup("Commands");
if(commonCmds[c] != text) {
cfg.writeEntry(QString::number(c),text);
commonCombo->clearEdit();
commonCombo->setCurrentItem(c);
}
}
void Konsole::setColor()
{
Config cfg("Konsole");
cfg.setGroup("Colors");
int scheme = cfg.readNumEntry("Schema",1);
if(scheme != 1) colorMenuSelected( -scheme);
}
void Konsole::scrollMenuSelected(int index)
{
// QString temp;
// qDebug( temp.sprintf("scrollbar menu %d",index));
TEWidget* te = getTe();
Config cfg("Konsole");
- cfg.setGroup("Scrollbar");
+ cfg.setGroup("ScrollBar");
switch( index){
case -24:
te->setScrollbarLocation(0);
cfg.writeEntry("Position",0);
break;
case -25:
te->setScrollbarLocation(1);
cfg.writeEntry("Position",1);
break;
case -26:
te->setScrollbarLocation(2);
cfg.writeEntry("Position",2);
break;
};
}
void Konsole::editCommandListMenuSelected(int iD)
{
// QString temp;
// qDebug( temp.sprintf("edit command list %d",iD));
TEWidget* te = getTe();
Config cfg("Konsole");
cfg.setGroup("Menubar");