]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
If operation to switching of scaling mode to Logarithmic is not confirmed by user...
authoradv <adv@opencascade.com>
Wed, 27 Feb 2013 06:57:38 +0000 (06:57 +0000)
committeradv <adv@opencascade.com>
Wed, 27 Feb 2013 06:57:38 +0000 (06:57 +0000)
src/Plot2d/Plot2d_ViewFrame.cxx

index c5a04377148520b12839893feba6c3ebd3acf667..9fd8d5212f3358a684b96e09e7d6bfd2ac6e5ff7 100755 (executable)
@@ -1539,7 +1539,10 @@ void Plot2d_ViewFrame::setHorScaleMode( const int mode, bool update )
                                             tr( "QUESTION_XLOG_NOT_ALLOWED" ), 
                                             SUIT_MessageBox::Yes | SUIT_MessageBox::No );
     if( answer == SUIT_MessageBox::No )
+    {
+      emit vpModeHorChanged();
       return;
+    }
 
     doXLogEnabled();
   }
@@ -1568,7 +1571,10 @@ void Plot2d_ViewFrame::setVerScaleMode( const int mode, bool update )
                                             tr( "QUESTION_YLOG_NOT_ALLOWED" ), 
                                             SUIT_MessageBox::Yes | SUIT_MessageBox::No );
     if( answer == SUIT_MessageBox::No )
+    {
+      emit vpModeVerChanged();
       return;
+    }
 
     doYLogEnabled();
   }