Fixed TAStudio crash when deselecting "Show Player X". The horizontal scrollbar was not updated which caused an exception when scrolling to the right.
This commit is contained in:
parent
4834e31bb8
commit
3d88f77ec6
|
@ -2027,7 +2027,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: this shouldn't be exposed. But in order to not expose it, each RollColumn must have a chane callback, and all property changes must call it, it is quicker and easier to just call this when needed
|
// TODO: this shouldn't be exposed. But in order to not expose it, each RollColumn must have a change callback, and all property changes must call it, it is quicker and easier to just call this when needed
|
||||||
public void ColumnsChanged()
|
public void ColumnsChanged()
|
||||||
{
|
{
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
|
|
|
@ -1176,8 +1176,8 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
|
|
||||||
CurrentTasMovie.FlagChanges();
|
CurrentTasMovie.FlagChanges();
|
||||||
|
TasView.AllColumns.ColumnsChanged();
|
||||||
RefreshTasView();
|
RefreshTasView();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ColumnsSubMenu.DropDownItems.Add(item);
|
ColumnsSubMenu.DropDownItems.Add(item);
|
||||||
|
|
|
@ -464,7 +464,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
column.Visible = false;
|
column.Visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
TasView.AllColumns.ColumnsChanged();
|
TasView.AllColumns.ColumnsChanged();
|
||||||
|
|
||||||
// Patterns
|
// Patterns
|
||||||
int bStart = 0;
|
int bStart = 0;
|
||||||
|
|
Loading…
Reference in New Issue