]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0002238: crash when Fit range in 2D mode
authorouv <ouv@opencascade.com>
Fri, 25 Jul 2014 12:41:29 +0000 (16:41 +0400)
committerouv <ouv@opencascade.com>
Fri, 25 Jul 2014 12:41:29 +0000 (16:41 +0400)
src/Plot3d/Plot3d_FitDataDlg.cxx

index db91fbf56a55d4f370f172993a282d37305fafbf..2634d67f241a1bc772bb1c9d5efb584d0af95167 100644 (file)
@@ -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 );
 }
 
 /*!