Commit 63fb8ffc authored by dt's avatar dt
Browse files

Replace QTC_ASSERT with normal check

Optionspages are called even if they weren't shown.
parent f33fc211
......@@ -532,8 +532,8 @@ QWidget *ToolChainOptionsPage::createPage(QWidget *parent)
void ToolChainOptionsPage::apply()
{
QTC_ASSERT(m_model, return; )
m_model->apply();
if (m_model)
m_model->apply();
}
void ToolChainOptionsPage::finish()
......
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