Commit 08c7ad69 authored by Thomas Holder's avatar Thomas Holder Committed by Marc Jeanmougin

Workaround for crashing filter editor on quit

Closes #1382
parent b02872e1
Pipeline #144786503 failed with stages
in 91 minutes and 18 seconds
......@@ -1577,6 +1577,11 @@ void FilterEffectsDialog::FilterModifier::update_filters()
SPDesktop* desktop = _dialog.getDesktop();
SPDocument* document = desktop->getDocument();
// Workaround for 1.0, not needed in 1.1 (which properly disconnects signals)
if (!document) {
return;
}
std::vector<SPObject *> filters = document->getResourceList( "filter" );
_model->clear();
......
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