X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FHYDROGUI%2FHYDROGUI_GeomObjectDlg.cxx;h=e69a21b73b900a3fdc580ba2abc1681c54a39dc9;hb=a300fde9adcb04f1d57269c2849e7337a6d3d4a3;hp=aec19adadb9a53638ed26edc34fb14c6e977a8f9;hpb=95666601f14d4315afb4689162b6702ec526ad34;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_GeomObjectDlg.cxx b/src/HYDROGUI/HYDROGUI_GeomObjectDlg.cxx index aec19ada..e69a21b7 100644 --- 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 ) { + bool isBlocked = myObjects->blockSignals( true ); myObjects->clear(); myObjects->addItems( theNames ); + myObjects->blockSignals( isBlocked ); updateControls(); } @@ -201,6 +203,7 @@ void HYDROGUI_GeomObjectDlg::onBrowse() void HYDROGUI_GeomObjectDlg::reset() { + myDefaultName.clear(); if ( myFileSelectionEnabled ) { myFileName->clear(); }