Commit 8ba526cd authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

remove duplicate code

parent 586559cf
......@@ -129,11 +129,6 @@ void dtkVisualizationDecoratorScalarIsolines::restoreSettings(void)
return;
dtkVisualizationDecoratorWithClut::restoreSettings();
d->actor->SetVisibility(d_func()->default_visibility);
d->show_actor_cb->blockSignals(true);
d->show_actor_cb->setChecked(d_func()->default_visibility);
d->show_actor_cb->blockSignals(false);
d->actor->SetVisibility(d_func()->default_visibility);
d->show_actor_cb->blockSignals(true);
d->show_actor_cb->setCheckState(d_func()->default_visibility ? Qt::Checked : Qt::Unchecked);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment