diff --git a/SourceGen/WpfGui/MainWindow.xaml.cs b/SourceGen/WpfGui/MainWindow.xaml.cs index cd41913..ccadbe1 100644 --- a/SourceGen/WpfGui/MainWindow.xaml.cs +++ b/SourceGen/WpfGui/MainWindow.xaml.cs @@ -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;