mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-17 08:24:59 +00:00
code_review: PR #1412
- Use `ViewModels.StashesPage.SelectedStash` instead of `sender is not ListBox { SelectedValue: Models.Stash stash }` - In tags view, `SelectedItem` can be `Models.Tag` or `ViewModels.TagTreeNode` - In logs window, `vm.SelectedLog` may be null Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
196b454ae8
commit
a128b67bd4
10 changed files with 56 additions and 70 deletions
|
@ -13,7 +13,7 @@
|
|||
ItemsSource="{Binding #ThisControl.Rows}"
|
||||
SelectionMode="Multiple"
|
||||
SelectionChanged="OnNodesSelectionChanged"
|
||||
KeyDown="OnListKeyDown"
|
||||
KeyDown="OnTreeKeyDown"
|
||||
ContextRequested="OnTreeContextRequested">
|
||||
<ListBox.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue