Commit 70219969 authored by Dominik Haumann's avatar Dominik Haumann Committed by Jan Paul Batrina
Browse files

Initialize changed flag to false in color picker config page

parent 31182d3a
......@@ -31,7 +31,6 @@ KTextEditor::ConfigPage *KateColorPickerPlugin::configPage(int number, QWidget *
KateColorPickerConfigPage::KateColorPickerConfigPage(QWidget *parent, KateColorPickerPlugin *plugin)
: KTextEditor::ConfigPage(parent)
, m_plugin(plugin)
, m_colorConfigChanged(true)
{
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
......
......@@ -39,7 +39,7 @@ private:
QCheckBox *chkPreviewAfterColor;
QMap <int, QCheckBox*> chkHexLengths;
KateColorPickerPlugin *m_plugin;
bool m_colorConfigChanged;
bool m_colorConfigChanged = false;
};
#endif // KATE_COLORPICKER_H
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