mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -883,6 +883,9 @@ void CGameListCtrl::OnMouseMotion(wxMouseEvent& event)
|
|||||||
long item = HitTest(event.GetPosition(), flags, &subitem);
|
long item = HitTest(event.GetPosition(), flags, &subitem);
|
||||||
static int lastItem = -1;
|
static int lastItem = -1;
|
||||||
|
|
||||||
|
if (GetColumnCount() <= 1)
|
||||||
|
return;
|
||||||
|
|
||||||
if (item != wxNOT_FOUND)
|
if (item != wxNOT_FOUND)
|
||||||
{
|
{
|
||||||
wxRect Rect;
|
wxRect Rect;
|
||||||
|
Reference in New Issue
Block a user