Check if we are just displaying the empty game list before assuming
that the ratings column is present. Fixes issue 4183. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7315 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
89f636cc08
commit
bf9962c3f0
|
@ -883,6 +883,9 @@ void CGameListCtrl::OnMouseMotion(wxMouseEvent& event)
|
|||
long item = HitTest(event.GetPosition(), flags, &subitem);
|
||||
static int lastItem = -1;
|
||||
|
||||
if (GetColumnCount() <= 1)
|
||||
return;
|
||||
|
||||
if (item != wxNOT_FOUND)
|
||||
{
|
||||
wxRect Rect;
|
||||
|
|
Loading…
Reference in New Issue