From e4dac334a956363414689db09e9e2473356d8af0 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sun, 21 Sep 2025 08:07:16 +0200 Subject: [PATCH] show all layers (including layers 0,1,2,3) in wave dialog box --- src/xschem.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index aafd1a90..4698784a 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -2913,7 +2913,7 @@ proc graph_edit_wave {n n_wave} { destroy .graphdialog } button .graphdialog.cancel -text Cancel -command {destroy .graphdialog} - for {set i 4} {$i < $cadlayers} {incr i} { + for {set i 0} {$i < $cadlayers} {incr i} { radiobutton .graphdialog.f.r$i -value $i -background [lindex $tctx::colors $i] \ -variable graph_sel_color -command {graph_change_wave_color $graph_sel_wave } \ -selectcolor white -foreground black @@ -3542,7 +3542,7 @@ proc graph_edit_properties {n} { pack .graphdialog.bottom.apply -side left pack .graphdialog.bottom.cancel -side left - for {set i 4} {$i <= $cadlayers} {incr i} { + for {set i 0} {$i <= $cadlayers} {incr i} { if {$i == $cadlayers } { button .graphdialog.bottom.r$i -padx 1 -borderwidth 1 -pady 0 \ -command "set_graph_default_colors" \