Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Harmonisation of GUI.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_GeomObjectDlg.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_GeomObjectDlg.cxx
b/src/HYDROGUI/HYDROGUI_GeomObjectDlg.cxx
index aec19adadb9a53638ed26edc34fb14c6e977a8f9..e69a21b73b900a3fdc580ba2abc1681c54a39dc9 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_GeomObjectDlg.cxx
+++ b/
src/HYDROGUI/HYDROGUI_GeomObjectDlg.cxx
@@
-135,8
+135,10
@@
HYDROGUI_GeomObjectDlg::~HYDROGUI_GeomObjectDlg()
void HYDROGUI_GeomObjectDlg::setObjectNames( const QStringList& theNames )
{
void HYDROGUI_GeomObjectDlg::setObjectNames( const QStringList& theNames )
{
+ bool isBlocked = myObjects->blockSignals( true );
myObjects->clear();
myObjects->addItems( theNames );
myObjects->clear();
myObjects->addItems( theNames );
+ myObjects->blockSignals( isBlocked );
updateControls();
}
updateControls();
}
@@
-201,6
+203,7
@@
void HYDROGUI_GeomObjectDlg::onBrowse()
void HYDROGUI_GeomObjectDlg::reset()
{
void HYDROGUI_GeomObjectDlg::reset()
{
+ myDefaultName.clear();
if ( myFileSelectionEnabled ) {
myFileName->clear();
}
if ( myFileSelectionEnabled ) {
myFileName->clear();
}