Commit 3892b162 authored by Adam Goins's avatar Adam Goins
Browse files

Check to ensure parent exists before calling emitMeasureModified() on it.

parent 53af54d2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -369,7 +369,9 @@ namespace Isis {
    bool oldStatus = p_ignore;
    p_ignore = newIgnoreStatus;

    if (Parent()) {
      Parent()->emitMeasureModified(this, IgnoredModified, oldStatus, p_ignore);
    }

    // only update if there was a change in status
    if (oldStatus != p_ignore) {