KSelectAction::setCurrentItem() does't emit activated() -> call the slot

manually so that the scrollbar position is applied correctly on startup

svn path=/trunk/kdebase/konsole/; revision=46604
wilder-portage
Carsten Pfeiffer 26 years ago
parent 1c3296ee66
commit 96be148d1b
  1. 1
      src/konsole.C

@ -527,6 +527,7 @@ void Konsole::readProperties(KConfig* config)
n_font = QMIN(config->readUnsignedNumEntry("font",3),TOPFONT);
n_scroll = QMIN(config->readUnsignedNumEntry("scrollbar",TEWidget::SCRRIGHT),2);
selectScrollbar->setCurrentItem(n_scroll);
slotSelectScrollbar();
s_schema = config->readEntry("schema","");
// Global options ///////////////////////

Loading…
Cancel
Save