mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Qt4 porting: automatic resizing of Hypothesis Construction: Number of Segments dialog.
This commit is contained in:
parent
25db37c904
commit
ce8c77e300
@ -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() );
|
||||||
|
Loading…
Reference in New Issue
Block a user