mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
added FieldP to values and styles, implemented reflection for IndexMap
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@36 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -41,10 +41,10 @@ void SymbolPartList::onChangeSymbol() {
|
||||
|
||||
void SymbolPartList::onAction(const Action& action) {
|
||||
TYPE_CASE(action, ReorderSymbolPartsAction) {
|
||||
if (selected == (long) action.partId1) {
|
||||
selectItem((long) action.partId2);
|
||||
} else if (selected == (long) action.partId2) {
|
||||
selectItem((long) action.partId1);
|
||||
if (selected == (long) action.part_id1) {
|
||||
selectItem((long) action.part_id2);
|
||||
} else if (selected == (long) action.part_id2) {
|
||||
selectItem((long) action.part_id1);
|
||||
}
|
||||
}
|
||||
TYPE_CASE_(action, SymbolPartListAction) {
|
||||
|
||||
Reference in New Issue
Block a user