Commit aea94e42 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QuickToolBar: syncing settings properly

parent a290fc3f
......@@ -50,6 +50,7 @@ DesignerSettings SettingsPageWidget::settings() const
ds.itemSpacing = m_ui.spinItemSpacing->value();
ds.snapMargin = m_ui.spinSnapMargin->value();
ds.enableContextPane = m_ui.textEditHelperCheckBox->isChecked();
ds.pinContextPane = m_ui.textEditHelperCheckBoxPin->isChecked();
return ds;
}
......@@ -58,6 +59,7 @@ void SettingsPageWidget::setSettings(const DesignerSettings &s)
m_ui.spinItemSpacing->setValue(s.itemSpacing);
m_ui.spinSnapMargin->setValue(s.snapMargin);
m_ui.textEditHelperCheckBox->setChecked(s.enableContextPane);
m_ui.textEditHelperCheckBoxPin->setChecked(s.pinContextPane);
}
QString SettingsPageWidget::searchKeywords() const
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment