Skip to content
Snippets Groups Projects
Commit e219ba43 authored by Alan De Smet's avatar Alan De Smet
Browse files

when gui loads a file, guess at default variable

If we had a file open in that "slot" (A or B) already, and the selected variable name is also present in the new file, pick that.
If that doesn't work, check to see if the selected variable name in the other file (B or A) is present, and if so pick that.
Otherwise stick with the existing default: the first item.

This should speed things up a little bit when bouncing between files, as the variable the user is most likely interested will already be selected.
parent ae766fa0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment