mirror of
https://github.com/fadden/6502bench.git
synced 2025-01-05 23:30:20 +00:00
Put focus on code list after opening project
Setting the focus allows certain key commands (like up/down arrows) to work without having to click in the code list first.
This commit is contained in:
parent
2a65457e19
commit
c380b001b7
@ -281,6 +281,10 @@ namespace SourceGen.WpfGui {
|
||||
mShowCodeListView = value;
|
||||
OnPropertyChanged("LaunchPanelVisibility");
|
||||
OnPropertyChanged("CodeListVisibility");
|
||||
if (value) {
|
||||
// Put the focus on the list view. Doesn't select anything.
|
||||
codeListView.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool mShowCodeListView;
|
||||
|
Loading…
Reference in New Issue
Block a user