Lua console - enable multi-select, InputRoll - refresh on select/deselect all, fixes #2401

This commit is contained in:
adelikat 2020-09-18 14:29:46 -05:00
parent 35754469aa
commit 0ecd155758
2 changed files with 3 additions and 0 deletions

View File

@ -597,12 +597,14 @@ namespace BizHawk.Client.EmuHawk
FullRowSelect = oldFullRowVal;
_lastSelectedRow = RowCount;
Refresh();
}
public void DeselectAll()
{
_lastSelectedRow = null;
_selectedItems.Clear();
Refresh();
}
public void TruncateSelection(int index)

View File

@ -644,6 +644,7 @@ namespace BizHawk.Client.EmuHawk
this.LuaListView.ColumnClick += new BizHawk.Client.EmuHawk.InputRoll.ColumnClickEventHandler(this.LuaListView_ColumnClick);
this.LuaListView.DoubleClick += new System.EventHandler(this.LuaListView_DoubleClick);
this.LuaListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LuaListView_KeyDown);
this.LuaListView.MultiSelect = true;
//
// splitContainer1
//