[kcmkwin/deco] Fix defaults for border size and close window double click

icc-effect-5.14.5
Martin Gräßlin 2014-12-04 17:41:57 +01:00
parent 6b7fd5b9bc
commit 623ac3faa3
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ void ConfigurationModule::defaults()
const QModelIndex index = m_proxyModel->mapFromSource(m_model->findDecoration(s_defaultPlugin));
listView->setProperty("currentIndex", index.isValid() ? index.row() : -1);
}
m_ui->borderSizesCombo->setCurrentIndex(m_ui->borderSizesCombo->findData(QVariant::fromValue(stringToSize(s_borderSizeNormal))));
m_ui->closeWindowsDoubleClick->setChecked(false);
KCModule::defaults();
}