Revert "GUI2/Label: warn if link_aware is true but use_markup is false"

This reverts commit c49469c67b. This was causing warning in the campaign
dialog (even though use_markup is set when a new multi_page page is created) causing tests to fail...
This commit is contained in:
Charles Dang 2020-12-15 23:59:15 +11:00
parent 3c0377e28a
commit a4d109072c

View file

@ -328,9 +328,6 @@ builder_label::builder_label(const config& cfg)
, can_shrink(cfg["can_shrink"].to_bool(false))
, link_aware(cfg["link_aware"].to_bool(false))
{
if(link_aware && !use_markup) {
WRN_GUI_L << "Link awareness enabled for label '" + id + "' but markup is disabled. Links will not be highlighted." << std::endl;
}
}
widget* builder_label::build() const