From: vsr Date: Fri, 12 Sep 2014 11:35:57 +0000 (+0400) Subject: Fix impoper setter for setShowTipOnValidate() function X-Git-Tag: V7_5_0a1~16^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=92699e6e1aa76f13f0e7a77cb6b43dc6b5ef08c0;p=modules%2Fgui.git Fix impoper setter for setShowTipOnValidate() function --- diff --git a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx index 336ecad71..527449499 100644 --- a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx +++ b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx @@ -508,7 +508,7 @@ bool SalomeApp_DoubleSpinBox::isAcceptNames() const */ void SalomeApp_DoubleSpinBox::setShowTipOnValidate( const bool flag ) { - myShowTip = myShowTip; + myShowTip = flag; } /*! diff --git a/src/SalomeApp/SalomeApp_IntSpinBox.cxx b/src/SalomeApp/SalomeApp_IntSpinBox.cxx index 1e57bd3fa..2e8bcc78d 100644 --- a/src/SalomeApp/SalomeApp_IntSpinBox.cxx +++ b/src/SalomeApp/SalomeApp_IntSpinBox.cxx @@ -456,7 +456,7 @@ bool SalomeApp_IntSpinBox::isAcceptNames() const */ void SalomeApp_IntSpinBox::setShowTipOnValidate( const bool flag ) { - myShowTip = myShowTip; + myShowTip = flag; } /*!