void HYDROGUI_GeomObjectDlg::setObjectNames( const QStringList& theNames )
{
+ bool isBlocked = myObjects->blockSignals( true );
myObjects->clear();
myObjects->addItems( theNames );
+ myObjects->blockSignals( isBlocked );
updateControls();
}
void HYDROGUI_GeomObjectDlg::reset()
{
+ myDefaultName.clear();
if ( myFileSelectionEnabled ) {
myFileName->clear();
}
// Update the default name of the HYDRO object
updateDefaultName();
+
+ // Close the dialog corresponding to the external operation
+ closeExternalOperationDlg();
}
void HYDROGUI_ImportGeomObjectOp::closeExternalOperationDlg()