Lua Console - track changes on Move Up / Down
This commit is contained in:
parent
40b057a474
commit
adda412369
|
@ -396,7 +396,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
//Note: here it will get flagged many times redundantly potentially,
|
//Note: here it will get flagged many times redundantly potentially,
|
||||||
//but this avoids it being flagged falsely when the user did not select an index
|
//but this avoids it being flagged falsely when the user did not select an index
|
||||||
//Changes();
|
changes = true;
|
||||||
}
|
}
|
||||||
List<int> i = new List<int>();
|
List<int> i = new List<int>();
|
||||||
for (int z = 0; z < indexes.Count; z++)
|
for (int z = 0; z < indexes.Count; z++)
|
||||||
|
@ -406,7 +406,6 @@ namespace BizHawk.MultiClient
|
||||||
for (int z = 0; z < i.Count; z++)
|
for (int z = 0; z < i.Count; z++)
|
||||||
LuaListView.SelectItem(i[z], true);
|
LuaListView.SelectItem(i[z], true);
|
||||||
|
|
||||||
|
|
||||||
DisplayLuaList();
|
DisplayLuaList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -429,7 +428,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
//Note: here it will get flagged many times redundantly potnetially,
|
//Note: here it will get flagged many times redundantly potnetially,
|
||||||
//but this avoids it being flagged falsely when the user did not select an index
|
//but this avoids it being flagged falsely when the user did not select an index
|
||||||
//Changes();
|
changes = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<int> i = new List<int>();
|
List<int> i = new List<int>();
|
||||||
|
@ -437,8 +436,8 @@ namespace BizHawk.MultiClient
|
||||||
i.Add(indexes[z] + 1);
|
i.Add(indexes[z] + 1);
|
||||||
|
|
||||||
LuaListView.SelectedIndices.Clear();
|
LuaListView.SelectedIndices.Clear();
|
||||||
//for (int z = 0; z < i.Count; z++)
|
for (int z = 0; z < i.Count; z++)
|
||||||
//CheatListView.SelectItem(i[z], true); //TODO
|
LuaListView.SelectItem(i[z], true);
|
||||||
|
|
||||||
DisplayLuaList();
|
DisplayLuaList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue