Don't clear report when there was an error getting available Blender versions
This commit is contained in:
parent
78d567793e
commit
e484d6496c
@ -473,6 +473,10 @@ class PILLAR_OT_sync(pillar.PillarOperatorMixin,
|
|||||||
bss = bpy.context.window_manager.blender_sync_status
|
bss = bpy.context.window_manager.blender_sync_status
|
||||||
bss.available_blender_versions = versions
|
bss.available_blender_versions = versions
|
||||||
|
|
||||||
|
if versions:
|
||||||
|
# There are versions to sync, so we can remove the status message.
|
||||||
|
# However, if there aren't any, the status message shows why, and
|
||||||
|
# shouldn't be erased.
|
||||||
self.bss_report({'INFO'}, '')
|
self.bss_report({'INFO'}, '')
|
||||||
|
|
||||||
async def download_settings_file(self, fname: str, temp_dir: str):
|
async def download_settings_file(self, fname: str, temp_dir: str):
|
||||||
|
Reference in New Issue
Block a user