mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CTextBox: don't hide if m_nPaintBackground is set to false
Required in CCompmonentsText. Hide of textbox object is unnecessary in CCompmonentsText objects.
This commit is contained in:
@@ -640,6 +640,8 @@ void CTextBox::hide (void)
|
|||||||
if(frameBuffer == NULL)
|
if(frameBuffer == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (m_nPaintBackground)
|
||||||
frameBuffer->paintBackgroundBoxRel(m_cFrame.iX, m_cFrame.iY, m_cFrame.iWidth, m_cFrame.iHeight);
|
frameBuffer->paintBackgroundBoxRel(m_cFrame.iX, m_cFrame.iY, m_cFrame.iWidth, m_cFrame.iHeight);
|
||||||
|
|
||||||
frameBuffer = NULL;
|
frameBuffer = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user