OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a3c86
)
不要な ListView.SelectedIndices への参照を削除
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Sat, 7 Mar 2020 15:44:23 +0000
(
00:44
+0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Thu, 12 Mar 2020 19:13:57 +0000
(
04:13
+0900)
OpenTween/Tween.cs
patch
|
blob
|
history
diff --git
a/OpenTween/Tween.cs
b/OpenTween/Tween.cs
index
8326f99
..
6171cc8
100644
(file)
--- a/
OpenTween/Tween.cs
+++ b/
OpenTween/Tween.cs
@@
-1942,10
+1942,10
@@
namespace OpenTween
var indices = listView.SelectedIndices.Cast<int>().ToArray();
this.CurrentTab.SelectPosts(indices);
- if (
listView.SelectedIndices.Count
!= 1)
+ if (
indices.Length
!= 1)
return;
- var index =
listView.SelectedI
ndices[0];
+ var index =
i
ndices[0];
if (index > listView.VirtualListSize - 1) return;
this.PushSelectPostChain();