mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-01 21:52:41 +02: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:
parent
89f636cc08
commit
bf9962c3f0
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user