Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Qt4 porting.
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_Hypotheses.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx
b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx
index a790cf126a6f44922141983d7b10cfa8039ecf00..adadbfb76cbf39b359f5578ead48150ace5323d5 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Hypotheses.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Hypotheses.cxx
@@
-152,6
+152,7
@@
bool SMESHGUI_GenericHypothesisCreator::editHypothesis( SMESH::SMESH_Hypothesis_
Dlg->setObjectName( theHypName );
Dlg->setHIcon( icon() );
Dlg->setType( type() );
Dlg->setObjectName( theHypName );
Dlg->setHIcon( icon() );
Dlg->setType( type() );
+ Dlg->setMinimumSize( Dlg->minimumSizeHint().width(), Dlg->minimumSizeHint().height() );
retrieveParams();
Dlg->show();
if ( !myEventLoop )
retrieveParams();
Dlg->show();
if ( !myEventLoop )
@@
-469,7
+470,7
@@
void SMESHGUI_HypothesisDlg::setCustomFrame( QFrame* f )
if( f )
{
f->setParent( mainFrame() );
if( f )
{
f->setParent( mainFrame() );
- qobject_cast<QVBoxLayout*>( layout() )->insertWidget( 1, f, 1 );
+ qobject_cast<QVBoxLayout*>(
mainFrame()->
layout() )->insertWidget( 1, f, 1 );
}
}
}
}