Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25db37c
)
Qt4 porting: automatic resizing of Hypothesis Construction: Number of Segments dialog.
author
mkr
<mkr@opencascade.com>
Tue, 1 Apr 2008 11:40:34 +0000
(11:40 +0000)
committer
mkr
<mkr@opencascade.com>
Tue, 1 Apr 2008 11:40:34 +0000
(11:40 +0000)
src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
index a97afece4177c631182cc71ae8861b0ddda694a1..928611d8a133e401bdbeac9340778f2d636344bb 100644
(file)
--- 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() );