diff --git a/src/Mod/Part/Gui/DlgBooleanOperation.cpp b/src/Mod/Part/Gui/DlgBooleanOperation.cpp index 5479fc58e6..1392217f45 100644 --- a/src/Mod/Part/Gui/DlgBooleanOperation.cpp +++ b/src/Mod/Part/Gui/DlgBooleanOperation.cpp @@ -62,7 +62,7 @@ namespace PartGui { QTreeWidgetItem::setData(column, role, value); if (role == Qt::CheckStateRole && value.toBool() == true) { QTreeWidget* tree = this->treeWidget(); - if (!tree) + if (!tree) return; int numChild = tree->topLevelItemCount(); for (int i=0; igetDocument(activeDoc); - if (!activeGui) + if (!activeGui) return; std::vector objs = activeDoc->getObjectsOfType