Fix T69736: Flipping bookmarks region empties it

This commit is contained in:
Julian Eisel 2019-09-11 11:37:26 +02:00
parent 9bb6058489
commit 69e0f485c9
Notes: blender-bot 2023-02-14 05:53:42 +01:00
Referenced by issue #69736, File Browser: Flipping Toolbar Region to the right side makes it disappear.
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ class FILEBROWSER_PT_filter(Panel):
def panel_poll_is_upper_region(region):
# The upper region is left-aligned, the lower is split into it then.
return region.alignment == 'LEFT'
# The upper region is left-aligned, the lower is split into it then. Note that after "Flip Regions" it's right-aligned.
return region.alignment in {'LEFT', 'RIGHT'}
class FILEBROWSER_UL_dir(UIList):