From: ouv Date: Fri, 25 Jul 2014 12:41:29 +0000 (+0400) Subject: 0002238: crash when Fit range in 2D mode X-Git-Tag: CTH_1_10_a~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf237d5de54c428cdbb07667987e92caedb8099c;p=modules%2Fgui.git 0002238: crash when Fit range in 2D mode --- diff --git a/src/Plot3d/Plot3d_FitDataDlg.cxx b/src/Plot3d/Plot3d_FitDataDlg.cxx index db91fbf56..2634d67f2 100644 --- a/src/Plot3d/Plot3d_FitDataDlg.cxx +++ b/src/Plot3d/Plot3d_FitDataDlg.cxx @@ -155,7 +155,8 @@ void Plot3d_FitDataDlg::setAxisTitles( const QString& theXTitle, { myXLabel->setText( theXTitle ); myYLabel->setText( theYTitle ); - myZLabel->setText( theZTitle ); + if( myIs3D ) + myZLabel->setText( theZTitle ); } /*!