From 1b3dff7014b3d3e166458350f3af7936b149d852 Mon Sep 17 00:00:00 2001 From: isn Date: Thu, 9 Nov 2017 12:59:12 +0300 Subject: [PATCH] debug --- src/HYDROGUI/HYDROGUI_ProfileDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.39.2