diff options
Diffstat (limited to 'amaranth/scene/goto_library.py')
-rw-r--r-- | amaranth/scene/goto_library.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/amaranth/scene/goto_library.py b/amaranth/scene/goto_library.py index b1ea9e5b..d38a62d3 100644 --- a/amaranth/scene/goto_library.py +++ b/amaranth/scene/goto_library.py @@ -19,6 +19,10 @@ class AMTH_FILE_PT_libraries(bpy.types.Panel): bl_category = "Bookmarks" bl_label = "Libraries" + @classmethod + def poll(cls, context): + return context.area.ui_type == 'FILES' + def draw(self, context): layout = self.layout |