Commit d03b5714 authored by dt's avatar dt
Browse files

Fix obscure crash in Find when no FindFilter exist.

Can only happpen if the user disables all plugins...
parent fefe6b37
......@@ -136,7 +136,7 @@ void FindToolWindow::writeSettings()
QSettings *settings = Core::ICore::instance()->settings();
settings->setValue("CurrentFilter", m_currentFilter->id());
settings->setValue("CurrentFilter", m_currentFilter ? 0 : m_currentFilter->id());
foreach (IFindFilter *filter, m_filters)
Supports Markdown
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