From e372aaf951edd8e08e2e8a34b1dbdd2be1f4f72c Mon Sep 17 00:00:00 2001 From: Brianna Major Date: Mon, 28 Aug 2023 11:17:34 -0400 Subject: [PATCH] Make sure the widget can be docked Signed-off-by: Brianna Major --- hexrd/ui/materials_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hexrd/ui/materials_panel.py b/hexrd/ui/materials_panel.py index 78baa6327..e524f1815 100644 --- a/hexrd/ui/materials_panel.py +++ b/hexrd/ui/materials_panel.py @@ -276,7 +276,7 @@ def show_overlay_manager(self): self._overlay_manager.ui.close() del self._overlay_manager - self._overlay_manager = OverlayManager(self.ui) + self._overlay_manager = OverlayManager(self.parent()) self._overlay_manager.show() def update_table(self):