Qt4 porting: automatic resizing of Hypothesis Construction: Number of Segments dialog.

This commit is contained in:
mkr 2008-04-01 11:40:34 +00:00
parent 25db37c904
commit ce8c77e300

View File

@ -399,7 +399,7 @@ void StdMeshersGUI_NbSegmentsCreator::onValueChanged()
if( isFunc ) if( isFunc )
myPreview->setConversion( StdMeshersGUI_DistrPreview::Conversion( myConv->checkedId() ) ); myPreview->setConversion( StdMeshersGUI_DistrPreview::Conversion( myConv->checkedId() ) );
if ( dlg() ) { if ( (QtxComboBox*)sender() == myDistr && dlg() ) {
QApplication::instance()->processEvents(); QApplication::instance()->processEvents();
dlg()->updateGeometry(); dlg()->updateGeometry();
dlg()->setMinimumSize( dlg()->minimumSizeHint().width(), dlg()->minimumSizeHint().height() ); dlg()->setMinimumSize( dlg()->minimumSizeHint().width(), dlg()->minimumSizeHint().height() );