mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00: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:
commit
07da9cbcf4
1 changed files with 1 additions and 1 deletions
|
@ -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() - (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue