From d54f4ed55fab72ea68ab8caeff36ef4f54f8f6ae Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Fri, 5 Jul 2024 15:39:35 -0500 Subject: [PATCH] Do not set a parent for OverlayStylePicker Calling `exec()` on the overlay style picker appears to be hiding its parent dialog, which we don't want. It's okay (arguably preferable) for this picker to be application-modal, so remove the parent. Signed-off-by: Patrick Avery --- hexrdgui/overlay_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hexrdgui/overlay_manager.py b/hexrdgui/overlay_manager.py index d4ce15081..94afe545e 100644 --- a/hexrdgui/overlay_manager.py +++ b/hexrdgui/overlay_manager.py @@ -292,5 +292,5 @@ def remove(self): self.update_table() def edit_style(self): - self._style_picker = OverlayStylePicker(self.active_overlay, self.ui) + self._style_picker = OverlayStylePicker(self.active_overlay) self._style_picker.exec()