From: isn Date: Thu, 9 Nov 2017 09:59:12 +0000 (+0300) Subject: debug X-Git-Tag: v2.1~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b3dff7014b3d3e166458350f3af7936b149d852;p=modules%2Fhydro.git debug --- diff --git a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx index 54094935..04d1d4ec 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx @@ -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 )