From e49f9902a786cb8bc519843b9871b837917a31ba Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 3 Oct 2023 10:45:11 +0200 Subject: [PATCH] remove redundant actions in toggle_colorscheme --- src/xschem.tcl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index dbac3f3c..55d91563 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -6135,13 +6135,9 @@ proc build_widgets { {topwin {} } } { } $topwin.menubar.view.menu add command -label "Toggle colorscheme" -accelerator {Shift+O} -command { xschem toggle_colorscheme - xschem build_colors - xschem redraw } toolbar_add ViewToggleColors { xschem toggle_colorscheme - xschem build_colors - xschem redraw } "Toggle Color Scheme" $topwin $topwin.menubar.view.menu add command -label "Dim colors" -accelerator {} -command { color_dim