fix: ensure AAppIconLabel image remains not visibile if icons are
disabled
This commit is contained in:
@ -151,7 +151,7 @@ void AAppIconLabel::updateAppIconName(const std::string& app_identifier,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void AAppIconLabel::updateAppIcon() {
|
void AAppIconLabel::updateAppIcon() {
|
||||||
if (update_app_icon_) {
|
if (update_app_icon_ || (!iconEnabled() && image_.get_visible())) {
|
||||||
update_app_icon_ = false;
|
update_app_icon_ = false;
|
||||||
if (app_icon_name_.empty()) {
|
if (app_icon_name_.empty()) {
|
||||||
image_.set_visible(false);
|
image_.set_visible(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user