mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-18 18:44:39 +00:00
better init of the frame
This commit is contained in:
parent
e1dbc3e26a
commit
b60cd83fbc
@ -24,6 +24,9 @@
|
||||
History
|
||||
|
||||
$Log$
|
||||
Revision 1.13 2007/10/16 11:04:06 cignoni
|
||||
better init of the frame
|
||||
|
||||
Revision 1.12 2007/10/02 10:03:03 cignoni
|
||||
wrong init in a case statement
|
||||
|
||||
@ -99,7 +102,10 @@ void MeshlabStdDialog::showAutoDialog(MeshFilterInterface *mfi, MeshModel *mm, Q
|
||||
|
||||
void MeshlabStdDialog::createFrame()
|
||||
{
|
||||
if(qf) delete qf;
|
||||
if(qf) {
|
||||
delete qf;
|
||||
stdfieldwidgets.clear();
|
||||
}
|
||||
QFrame *newqf = new MeshlabStdDialogFrame(this);
|
||||
newqf->setFrameStyle(QFrame::Box | QFrame::Sunken);
|
||||
newqf->setMinimumSize(75, 75);
|
||||
@ -145,7 +151,8 @@ void MeshlabStdDialog::loadFrameContent()
|
||||
assert(qf);
|
||||
qf->hide();
|
||||
setWindowTitle(curmfi->filterName(curAction));
|
||||
|
||||
//stdfieldwidgets.clear();
|
||||
// qf->clear();
|
||||
QGridLayout *gridLayout = new QGridLayout(qf);
|
||||
qf->setLayout(gridLayout);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user