Tool dialog: disable "Hide Empty Measurements" checkbox when input data is "Size and height"

--HG--
branch : develop
This commit is contained in:
Felix Ulber 2015-02-08 20:23:01 +01:00
parent 1f51d0122f
commit 77a24bba0b

View File

@ -896,6 +896,9 @@ void DialogTool::EvalFormula()
*/ */
void DialogTool::SizeHeight() void DialogTool::SizeHeight()
{ {
SCASSERT(checkBoxHideEmpty != nullptr);
checkBoxHideEmpty->setEnabled(false);
SCASSERT(listWidget != nullptr); SCASSERT(listWidget != nullptr);
listWidget->blockSignals(true); listWidget->blockSignals(true);
listWidget->clear(); listWidget->clear();