From 77a24bba0bb6d9587ca3c2f7067049b1a79cf09c Mon Sep 17 00:00:00 2001 From: Felix Ulber Date: Sun, 8 Feb 2015 20:23:01 +0100 Subject: [PATCH] Tool dialog: disable "Hide Empty Measurements" checkbox when input data is "Size and height" --HG-- branch : develop --- src/app/dialogs/tools/dialogtool.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/dialogs/tools/dialogtool.cpp b/src/app/dialogs/tools/dialogtool.cpp index f81fc8cee..0a8d8d1b2 100644 --- a/src/app/dialogs/tools/dialogtool.cpp +++ b/src/app/dialogs/tools/dialogtool.cpp @@ -896,6 +896,9 @@ void DialogTool::EvalFormula() */ void DialogTool::SizeHeight() { + SCASSERT(checkBoxHideEmpty != nullptr); + checkBoxHideEmpty->setEnabled(false); + SCASSERT(listWidget != nullptr); listWidget->blockSignals(true); listWidget->clear();