mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #518 from glennricster/master
Ensure (Get|Set)ColumnWidth is not called on a non existant column.
This commit is contained in:
@ -1285,7 +1285,7 @@ void CGameListCtrl::AutomaticColumnWidth()
|
|||||||
{
|
{
|
||||||
SetColumnWidth(0, rc.GetWidth());
|
SetColumnWidth(0, rc.GetWidth());
|
||||||
}
|
}
|
||||||
else
|
else if (GetColumnCount() > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
int resizable = rc.GetWidth() - (
|
int resizable = rc.GetWidth() - (
|
||||||
|
Reference in New Issue
Block a user