fix: "natrual" option in mouse scroll direction not correctly checked.
This commit is contained in:
parent
5003c412f7
commit
9964551ed6
|
@ -79,7 +79,10 @@ void EditorGeneralWidget::doLoad()
|
|||
ui->chkScrollByOneLess->setChecked(pSettings->editor().scrollByOneLess());
|
||||
ui->spinMouseWheelScrollSpeed->setValue(pSettings->editor().mouseWheelScrollSpeed());
|
||||
ui->spinMouseSelectionScrollSpeed->setValue(pSettings->editor().mouseSelectionScrollSpeed());
|
||||
ui->rbInvertScroll->setChecked(pSettings->editor().invertMouseScroll());
|
||||
if (pSettings->editor().invertMouseScroll())
|
||||
ui->rbInvertScroll->setChecked(true);
|
||||
else
|
||||
ui->rbNaturalScroll->setChecked(true);
|
||||
|
||||
//right margin line;
|
||||
ui->grpRightEdge->setChecked(pSettings->editor().showRightEdgeLine());
|
||||
|
|
Loading…
Reference in New Issue