cosmetics

This commit is contained in:
Jean-Francois Dockes 2015-08-01 16:27:04 +02:00
parent bc17cf8859
commit fdfcdbb47a

View file

@ -85,8 +85,7 @@ void RclMain::showFragButs()
connect(fragbuts, SIGNAL(fragmentsChanged()), connect(fragbuts, SIGNAL(fragmentsChanged()),
this, SLOT(onFragmentsChanged())); this, SLOT(onFragmentsChanged()));
} else { } else {
delete fragbuts; deleteZ(fragbuts);
fragbuts = 0;
} }
} else { } else {
// Close and reopen, in hope that makes us visible... // Close and reopen, in hope that makes us visible...