mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CUpnpBrowserGui: fix dline paint during directory selection
Dline was not removed on directory selection.
This commit is contained in:
@@ -1226,8 +1226,11 @@ void CUpnpBrowserGui::paintDetails(UPnPEntry *entry, bool use_playing)
|
||||
|
||||
void CUpnpBrowserGui::paintItem2DetailsLine(int pos)
|
||||
{
|
||||
if (pos < 0)
|
||||
if (pos < 0){
|
||||
if (dline)
|
||||
dline->kill();
|
||||
return;
|
||||
}
|
||||
|
||||
int xpos = m_x - DETAILSLINE_WIDTH;
|
||||
int ypos1 = m_item_y + pos*m_item_height;
|
||||
|
Reference in New Issue
Block a user