]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
debug
authorisn <isn@opencascade.com>
Thu, 9 Nov 2017 09:59:12 +0000 (12:59 +0300)
committerisn <isn@opencascade.com>
Thu, 9 Nov 2017 09:59:12 +0000 (12:59 +0300)
src/HYDROGUI/HYDROGUI_ProfileDlg.cxx

index 540949356bf39e6dbeace09641246efa03612bab..04d1d4ec5f785dcd20ed99f605a1b4bb0df519d3 100644 (file)
@@ -144,7 +144,8 @@ void HYDROGUI_ProfileDlg::reset()
   myEditorWidget->reset();
   myEditorWidget->setActionMode( CurveCreator_Widget::AdditionMode );
   viewer()->setTrihedronShown( false ); // Issue #548
-  myProfileNames->clear();
+  if (myProfileNames)
+    myProfileNames->clear();
 }
 
 void HYDROGUI_ProfileDlg::setProfileName( const QString& theName )