From 1be1021f9f05fac90f62401f86c301f4c53920f2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 15 May 2024 19:48:55 +1000 Subject: [PATCH] Extensions: check for updates now shows the text & icon as a button --- bl_pkg/bl_extension_notify.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bl_pkg/bl_extension_notify.py b/bl_pkg/bl_extension_notify.py index 9e5fc31..60c5005 100644 --- a/bl_pkg/bl_extension_notify.py +++ b/bl_pkg/bl_extension_notify.py @@ -280,10 +280,9 @@ def splash_draw_status_fn(self, context): text, icon = bl_extension_utils.CommandBatch.calc_status_text_icon_from_data(status_data, update_count) row = self.layout.row(align=True) if update_count > 0: - row.operator("bl_pkg.extensions_show_for_update", text="", icon=icon) + row.operator("bl_pkg.extensions_show_for_update", text=text, icon=icon) else: - row.label(text="", icon=icon) - row.label(text=text) + row.label(text=text, icon=icon) self.layout.separator() self.layout.separator()