File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Launchpad/Window/ManageWindow Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 9595 }
9696
9797 UpdateListView (focusedRow := 0 ) {
98- this.listView.UpdateListView(focusedRow)
98+ key := this.listView.GetSelected("" , true , true )
99+ this.listView.UpdateListView(true )
100+ this.UpdateDetailsPane(key)
99101 }
100102
101103 InitListView (lv ) {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class ListViewControl extends GuiControlBase {
5757 return this.ctl
5858 }
5959
60- GetSelected (type := "", getKeys := false ) {
60+ GetSelected (type := "", getKeys := false, first := false ) {
6161 selected := []
6262 rowNum := 0
6363
@@ -73,6 +73,10 @@ class ListViewControl extends GuiControlBase {
7373 selected.Push(val)
7474 }
7575
76+ if (first ) {
77+ selected := (selected.Length > 0 ) ? selected[1 ] : ""
78+ }
79+
7680 return selected
7781 }
7882
@@ -103,7 +107,7 @@ class ListViewControl extends GuiControlBase {
103107
104108 this.ctl.Delete ()
105109
106- idx := 0
110+ idx := 1
107111
108112 for key, data in this.rowData {
109113 idx++
You can’t perform that action at this time.
0 commit comments