File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2133,14 +2133,15 @@ End
21332133/// @brief Enable show trace info tags globally
21342134Function ShowTraceInfoTags ()
21352135
2136- DoIgorMenu / C "Graph" , "Show Trace Info Tags"
2137-
2138- if ( cmpStr ( S_value, "Hide Trace Info Tags" ))
2139- // add graph so that the menu item is available
2140- Display
2136+ Display
2137+ // Window must not be hidden
2138+ // Returns in S_value the state before toggling
2139+ DoIgorMenu / OVRD "Graph" , "Show Trace Info Tags"
2140+ if ( CmpStr ( S_value, "Show Trace Info Tags" ))
2141+ // toggled to "Show Trace Info Tags", need to toggle back
21412142 DoIgorMenu / OVRD "Graph" , "Show Trace Info Tags"
2142- KillWindow / Z $ S_name
21432143 endif
2144+ KillWindow / Z $ S_name
21442145End
21452146
21462147/// @brief Return the recreation macro and the type of the given control
You can’t perform that action at this time.
0 commit comments