Commit 83900f4b authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QtQuickToolbar: enable for master

parent 3026cc75
...@@ -49,7 +49,7 @@ DesignerSettings SettingsPageWidget::settings() const ...@@ -49,7 +49,7 @@ DesignerSettings SettingsPageWidget::settings() const
DesignerSettings ds; DesignerSettings ds;
ds.itemSpacing = m_ui.spinItemSpacing->value(); ds.itemSpacing = m_ui.spinItemSpacing->value();
ds.snapMargin = m_ui.spinSnapMargin->value(); ds.snapMargin = m_ui.spinSnapMargin->value();
ds.enableContextPane = false; ds.enableContextPane = m_ui.textEditHelperCheckBox->isChecked();
return ds; return ds;
} }
...@@ -57,6 +57,7 @@ void SettingsPageWidget::setSettings(const DesignerSettings &s) ...@@ -57,6 +57,7 @@ void SettingsPageWidget::setSettings(const DesignerSettings &s)
{ {
m_ui.spinItemSpacing->setValue(s.itemSpacing); m_ui.spinItemSpacing->setValue(s.itemSpacing);
m_ui.spinSnapMargin->setValue(s.snapMargin); m_ui.spinSnapMargin->setValue(s.snapMargin);
m_ui.textEditHelperCheckBox->setChecked(s.enableContextPane);
} }
QString SettingsPageWidget::searchKeywords() const QString SettingsPageWidget::searchKeywords() const
......
Markdown is supported
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