on xenial help sign in
also check for m_valid now
432358aMichael Zanetti
tests/mocks/GSettings.1.0/fake_gsettings.cpp+1−1
@@ -346,7 +346,7 @@ void GSettingsQml::setLauncherWidth(const QVariant &launcherWidth)
346
346
347void GSettingsQml::setEdgeDragWidth(const QVariant &edgeDragWidth)
347void GSettingsQml::setEdgeDragWidth(const QVariant &edgeDragWidth)
348{
348{
349− if (m_schema->id() == "com.canonical.Unity8") {
349+ if (m_valid && m_schema->id() == "com.canonical.Unity8") {
350 GSettingsControllerQml::instance()->setEdgeDragWidth(edgeDragWidth.toUInt());
350 GSettingsControllerQml::instance()->setEdgeDragWidth(edgeDragWidth.toUInt());
351 }
351 }
352}
352}