Commit 4a1ca6c6 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Added a check to see if the active control exists. This caused a seg fault.

parent d54ab9f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1915,7 +1915,7 @@ namespace Isis {
   * Currently, this was the easiest place to emit this signal.
   */
  void Project::cnetModified() {
    if (m_activeControl->isModified()) {
    if (m_activeControl && m_activeControl->isModified()) {
      emit activeControlModified();
    }
    setClean(false);