mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-18 21:40:53 +00:00
only paint GameListItems if any exist
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7407 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
63ed047aef
commit
85f717c7c7
@ -360,6 +360,8 @@ void CGameListCtrl::OnPaintDrawImages(wxPaintEvent& event)
|
|||||||
wxControl::OnPaint(event);
|
wxControl::OnPaint(event);
|
||||||
|
|
||||||
// Draw the flags, platform icons and emustate icons on top if there's games to show
|
// Draw the flags, platform icons and emustate icons on top if there's games to show
|
||||||
|
if (m_ISOFiles.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
// Retrieve the topmost shown item and get drawing offsets
|
// Retrieve the topmost shown item and get drawing offsets
|
||||||
const long
|
const long
|
||||||
|
Loading…
x
Reference in New Issue
Block a user