From 8187d3f9b5bfa5b62963d54f3ed8e4a5f40b0b96 Mon Sep 17 00:00:00 2001 From: Ronald Pandolfi Date: Tue, 8 Oct 2024 18:52:51 -0700 Subject: [PATCH] fallback to default (pyqtgraph upgrade compat) --- xicam/gui/settings/appearance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xicam/gui/settings/appearance.py b/xicam/gui/settings/appearance.py index dc526dd3..85cc92af 100644 --- a/xicam/gui/settings/appearance.py +++ b/xicam/gui/settings/appearance.py @@ -71,5 +71,5 @@ def __init__(self): ) def apply(self): - self["Theme"]() - self["Plot Theme (requires restart)"]() + (self["Theme"] or setDefault)() + (self["Plot Theme (requires restart)"] or setPlotDefault)()