Merge pull request #4863 from olliestone/fix-aappiconlabel-image-visibility

fix: ensure AAppIconLabel image remains not visibile if icons are disabled
This commit is contained in:
Alexis Rouillard
2026-02-18 20:47:27 +01:00
committed by GitHub

View File

@ -151,7 +151,7 @@ void AAppIconLabel::updateAppIconName(const std::string& app_identifier,
}
void AAppIconLabel::updateAppIcon() {
if (update_app_icon_) {
if (update_app_icon_ || (!iconEnabled() && image_.get_visible())) {
update_app_icon_ = false;
if (app_icon_name_.empty()) {
image_.set_visible(false);