From: mkr Date: Tue, 1 Apr 2008 11:40:34 +0000 (+0000) Subject: Qt4 porting: automatic resizing of Hypothesis Construction: Number of Segments dialog. X-Git-Tag: V5_0_0~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce8c77e300dc1fe006baac3c7c25644a6f512b09;p=modules%2Fsmesh.git Qt4 porting: automatic resizing of Hypothesis Construction: Number of Segments dialog. --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx index a97afece4..928611d8a 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx @@ -399,7 +399,7 @@ void StdMeshersGUI_NbSegmentsCreator::onValueChanged() if( isFunc ) myPreview->setConversion( StdMeshersGUI_DistrPreview::Conversion( myConv->checkedId() ) ); - if ( dlg() ) { + if ( (QtxComboBox*)sender() == myDistr && dlg() ) { QApplication::instance()->processEvents(); dlg()->updateGeometry(); dlg()->setMinimumSize( dlg()->minimumSizeHint().width(), dlg()->minimumSizeHint().height() );