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:
Kyle Howell 2016-09-25 16:55:34 -06:00
parent 4834e31bb8
commit 3d88f77ec6
3 changed files with 3 additions and 3 deletions

View File

@ -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()
{
int pos = 0;

View File

@ -1176,8 +1176,8 @@ namespace BizHawk.Client.EmuHawk
}
CurrentTasMovie.FlagChanges();
TasView.AllColumns.ColumnsChanged();
RefreshTasView();
};
ColumnsSubMenu.DropDownItems.Add(item);

View File

@ -464,7 +464,7 @@ namespace BizHawk.Client.EmuHawk
column.Visible = false;
}
TasView.AllColumns.ColumnsChanged();
TasView.AllColumns.ColumnsChanged();
// Patterns
int bStart = 0;