add bool type to the displayed curves

This commit is contained in:
2025-07-08 17:56:34 +02:00
parent 21870536d1
commit 4941232be6

View File

@ -257,7 +257,7 @@ proc secop::make_par {secopar desc {kind ""}} {
} }
lassign [split $path /] nul obj par lassign [split $path /] nul obj par
set fmtunit "" set fmtunit ""
if {[lsearch [list enum int double] $secoptype0] >= 0} { if {[lsearch [list enum int double bool] $secoptype0] >= 0} {
set fmtunit "" set fmtunit ""
if {[catch {set unit [dict get $datadesc unit]}]} { if {[catch {set unit [dict get $datadesc unit]}]} {
set unit 1 set unit 1