Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit b9ce867

Browse files
committed
Make the message concerning unused values in a rule precise.
1 parent 1c73cc4 commit b9ce867

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/TailoringDockWidgets.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ void XCCDFItemPropertiesDockWidget::refresh()
253253
}
254254
html += "</ul>\n";
255255

256-
mUI.affectsRulesBrowser->setHtml(empty ? "This value doesn't seem to be affecting any rules!" : html);
256+
// The variable-rules map is constructed in a generateValueAffectsRulesMap method
257+
// that only uses checks as input data.
258+
mUI.affectsRulesBrowser->setHtml(empty ? "This value doesn't seem to be used in any rule's check." : html);
257259
}
258260

259261
mUI.affectsRulesLabel->show();

0 commit comments

Comments
 (0)