Commit 286d8091 authored by con's avatar con
Browse files

Fix the crash fix d03b5714.

parent 62e370ae
......@@ -136,7 +136,7 @@ void FindToolWindow::writeSettings()
{
QSettings *settings = Core::ICore::instance()->settings();
settings->beginGroup("Find");
settings->setValue("CurrentFilter", m_currentFilter ? 0 : m_currentFilter->id());
settings->setValue("CurrentFilter", m_currentFilter ? m_currentFilter->id() : 0);
foreach (IFindFilter *filter, m_filters)
filter->writeSettings(settings);
settings->endGroup();
......
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