mirror of
https://github.com/blender/blender-addons-contrib.git
synced 2025-07-23 00:49:46 +00:00
Extensions: check for updates now shows the text & icon as a button
This commit is contained in:
@ -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)
|
text, icon = bl_extension_utils.CommandBatch.calc_status_text_icon_from_data(status_data, update_count)
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
if update_count > 0:
|
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:
|
else:
|
||||||
row.label(text="", icon=icon)
|
row.label(text=text, icon=icon)
|
||||||
row.label(text=text)
|
|
||||||
|
|
||||||
self.layout.separator()
|
self.layout.separator()
|
||||||
self.layout.separator()
|
self.layout.separator()
|
||||||
|
Reference in New Issue
Block a user