make wave change color undoable

This commit is contained in:
stefan schippers 2025-09-22 15:37:20 +02:00
parent f6b05b15e1
commit c41d4a42ba
1 changed files with 1 additions and 0 deletions

View File

@ -3129,6 +3129,7 @@ proc graph_change_wave_color {{wave {}}} {
global graph_sel_color graph_selected graph_schname
if { [xschem get schname] ne $graph_schname } return
graph_push_undo
# get tag the cursor is on:
if { $wave eq {}} {
set sel_range [.graphdialog.center.right.text1 tag ranges sel]