Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1150 Tab buttons problems
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetFileSelector.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetFileSelector.cpp
b/src/ModuleBase/ModuleBase_WidgetFileSelector.cpp
index 5abfea54d6303a7337321cfeb6f63ddebba6b0f2..dbe8e8ce30411823c8863bd989e56b5b2585101d 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetFileSelector.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetFileSelector.cpp
@@
-88,7
+88,9
@@
bool ModuleBase_WidgetFileSelector::restoreValueCustom()
AttributeStringPtr aStringAttr = aData->string(attributeID());
bool isBlocked = myPathField->blockSignals(true);
AttributeStringPtr aStringAttr = aData->string(attributeID());
bool isBlocked = myPathField->blockSignals(true);
- myPathField->setText(QString::fromStdString(aStringAttr->value()));
+ QString aNewText = QString::fromStdString(aStringAttr->value());
+ if( myPathField->text() != aNewText )
+ myPathField->setText( aNewText );
myPathField->blockSignals(isBlocked);
return true;
myPathField->blockSignals(isBlocked);
return true;