From ce8c77e300dc1fe006baac3c7c25644a6f512b09 Mon Sep 17 00:00:00 2001 From: mkr Date: Tue, 1 Apr 2008 11:40:34 +0000 Subject: [PATCH] Qt4 porting: automatic resizing of Hypothesis Construction: Number of Segments dialog. --- src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); -- 2.39.2