mirror of
https://github.com/fadden/6502bench.git
synced 2024-08-14 18:28:57 +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;
|
mShowCodeListView = value;
|
||||||
OnPropertyChanged("LaunchPanelVisibility");
|
OnPropertyChanged("LaunchPanelVisibility");
|
||||||
OnPropertyChanged("CodeListVisibility");
|
OnPropertyChanged("CodeListVisibility");
|
||||||
|
if (value) {
|
||||||
|
// Put the focus on the list view. Doesn't select anything.
|
||||||
|
codeListView.Focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private bool mShowCodeListView;
|
private bool mShowCodeListView;
|
||||||
|
Loading…
Reference in New Issue
Block a user