moviebrowser: reset m_pcInfo1 box to default height, ...

when turning m_settings.browserAdditional off


Origin commit data
------------------
Branch: ni/coolstream
Commit: ad7947d11a
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-11 (Fri, 11 Nov 2016)

Origin message was:
------------------
- moviebrowser: reset m_pcInfo1 box to default height, ...

when turning m_settings.browserAdditional off


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-11-11 16:35:50 +01:00
parent 8c75cc78d2
commit 790508f5e0

View File

@@ -3438,14 +3438,17 @@ bool CMovieBrowser::showMenu(bool calledExternally)
if (reInitFrames) { if (reInitFrames) {
#if 1 #if 1
if (m_settings.browserAdditional && oldAdditional != m_settings.browserAdditional) if (oldAdditional != m_settings.browserAdditional)
{ {
/* /*
Bad 'hack' to force a smaller m_pcInfo1 box. Bad 'hack' to force a smaller m_pcInfo1 box.
This can be reconfigured by user later. This can be reconfigured by user later.
It's just to align view to channellist's view. It's just to align view to channellist's view.
*/ */
if (m_settings.browserAdditional)
m_settings.browserFrameHeight = 75; m_settings.browserFrameHeight = 75;
else
m_settings.browserFrameHeight = 65;
} }
#endif #endif
initFrames(); initFrames();