UI: File Browser Options Fix
With D12436 two File Browser properties were renamed but two references not changed in space_filebrowser.py See D12449 for details. Differential Revision: https://developer.blender.org/D12449 Reviewed by Hans Goudey
This commit is contained in:
@@ -267,7 +267,7 @@ class FILEBROWSER_PT_bookmarks_system(Panel):
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (
|
||||
not context.preferences.filepaths.hide_system_bookmarks and
|
||||
context.preferences.filepaths.show_system_bookmarks and
|
||||
panel_poll_is_upper_region(context.region) and
|
||||
not panel_poll_is_asset_browsing(context)
|
||||
)
|
||||
@@ -345,7 +345,7 @@ class FILEBROWSER_PT_bookmarks_recents(Panel):
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (
|
||||
not context.preferences.filepaths.hide_recent_locations and
|
||||
context.preferences.filepaths.show_recent_locations and
|
||||
panel_poll_is_upper_region(context.region) and
|
||||
not panel_poll_is_asset_browsing(context)
|
||||
)
|
||||
|
Reference in New Issue
Block a user