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

when turning m_settings.browserAdditional off


Origin commit data
------------------
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 is contained in:
vanhofen
2016-11-11 16:35:50 +01:00
parent 3bfe860a5d
commit b1af01a476

View File

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