From 92699e6e1aa76f13f0e7a77cb6b43dc6b5ef08c0 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 12 Sep 2014 15:35:57 +0400 Subject: [PATCH] Fix impoper setter for setShowTipOnValidate() function --- src/SalomeApp/SalomeApp_DoubleSpinBox.cxx | 2 +- src/SalomeApp/SalomeApp_IntSpinBox.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } /*! -- 2.39.2