Skip to content

Commit

Permalink
Make custom dlg for SmoothNeghbours disable properties specified from…
Browse files Browse the repository at this point in the history
… script.

Small cosmetic fix touching dialog run from scripts as well, so done in this ticket.

Refs #7744
  • Loading branch information
arturbekasov committed Aug 14, 2013
1 parent f0875eb commit 2069396
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ void SmoothNeighboursDialog::initLayout()

m_propertiesWidget->setAlgorithm(this->getAlgorithm());

// Mark the properties that will be forced enabled or disabled
m_propertiesWidget->addEnabledAndDisableLists(m_enabled, m_disabled + m_python_arguments);

// Tie all the widgets to properties
for (auto it = m_propertiesWidget->m_propWidgets.begin(); it != m_propertiesWidget->m_propWidgets.end(); it++)
this->tie(it.value(), it.key());
Expand Down

0 comments on commit 2069396

Please sign in to comment.