mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 02:21:26 +02: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);
|
||||
|
||||
// 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
|
||||
const long
|
||||
|
Loading…
Reference in New Issue
Block a user