From 6f4e8865c73b0d696a79f1874049d6cdd97cc012 Mon Sep 17 00:00:00 2001 From: torzdf <36920800+torzdf@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:55:26 +0000 Subject: [PATCH] Bugfix - GUI Don't use group as widget name due to translation issues with TCL --- lib/gui/control_helper.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/gui/control_helper.py b/lib/gui/control_helper.py index cdebb2678b..7a128a1e99 100644 --- a/lib/gui/control_helper.py +++ b/lib/gui/control_helper.py @@ -474,11 +474,9 @@ def get_group_frame(self, group): is_master = group == "_master" opts_frame = self.optsframe.subframe if is_master: - group_frame = ttk.Frame(opts_frame, name=group.lower()) + group_frame = ttk.Frame(opts_frame) else: - group_frame = ttk.LabelFrame(opts_frame, - text="" if is_master else group.title(), - name=group.lower()) + group_frame = ttk.LabelFrame(opts_frame, text="" if is_master else group.title()) group_frame.pack(side=tk.TOP, fill=tk.X, padx=5, pady=5, anchor=tk.NW) @@ -522,7 +520,7 @@ def _get_subgroup_frame(self, parent, subgroup): if subgroup is None: return subgroup if subgroup not in self._sub_group_frames: - sub_frame = ttk.Frame(parent, name="subgroup_{}".format(subgroup)) + sub_frame = ttk.Frame(parent) self._sub_group_frames[subgroup] = AutoFillContainer(sub_frame, self.option_columns, self.option_columns)