Crash on context menu after selecting a variable in linear view then navigating #4647
Labels
Component: UI
Issue needs changes to the user interface
Effort: Trivial
Issue should take < 1 day
Impact: High
Issue adds or blocks important functionality
Type: Crash
Issue is a crash or deadlock
UI: Linear
Issues with the Linear view
Version and Platform (required):
Bug Description:
In certain cases, trying to right click the types view crashes after a specific set of actions in linear view.
Steps To Reproduce:
Fly
token in the variable in the signatureExpected Behavior:
I expected the program not to crash.
Additional Information:
Looks like
m_highlight.localVarValid
is not being cleared on navigation away from the function, and thengetCurrentFunction()
returns nullptr and crashes.The text was updated successfully, but these errors were encountered: