diff --git a/CHANGELOG.md b/CHANGELOG.md index b47a19a9..7a4359a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - UI - some package icons would not appear if there is no URL associated with them + - info: not displaying boolean fields ## [0.9.28] 2022-02-14 diff --git a/bauh/view/qt/info.py b/bauh/view/qt/info.py index d16757de..618988e7 100644 --- a/bauh/view/qt/info.py +++ b/bauh/view/qt/info.py @@ -53,7 +53,7 @@ class InfoDialog(QDialog): self.setWindowIcon(QIcon(pkg_info['__app__'].model.get_type_icon_path())) for idx, attr in enumerate(sorted(pkg_info.keys())): - if attr not in IGNORED_ATTRS and pkg_info[attr]: + if attr not in IGNORED_ATTRS and pkg_info[attr] is not None: i18n_key = pkg_info['__app__'].model.gem_name + '.info.' + attr.lower() val = pkg_info[attr]