aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-01-15 16:40:20 +1000
committerGitHub <noreply@github.com>2023-01-15 16:40:20 +1000
commit78b4e377e43311fae6030d9ff6f67184888ebccc (patch)
tree7ac2dee0f1da2069d6ef5b0d5cb7ff3c332a4aac
parent5c9c5725328ae726f8baec2b452428db2430d449 (diff)
parenta06f7d47e149d6a10ca88e0e3c9b45611deecad7 (diff)
Merge pull request #22469 from garbear/backport-fix-nonitem-gamewindow
[Nexus] RetroPlayer: Fix gamewindow control ignoring non-itemlayout properties
-rw-r--r--xbmc/cores/RetroPlayer/guicontrols/GUIGameControl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/cores/RetroPlayer/guicontrols/GUIGameControl.cpp b/xbmc/cores/RetroPlayer/guicontrols/GUIGameControl.cpp
index c7ccd07b2c..85e127d7ef 100644
--- a/xbmc/cores/RetroPlayer/guicontrols/GUIGameControl.cpp
+++ b/xbmc/cores/RetroPlayer/guicontrols/GUIGameControl.cpp
@@ -126,10 +126,10 @@ void CGUIGameControl::SetHeight(float height)
void CGUIGameControl::UpdateInfo(const CGUIListItem* item /* = nullptr */)
{
- Reset();
-
if (item)
{
+ Reset();
+
std::string strVideoFilter = m_videoFilterInfo.GetItemLabel(item);
if (!strVideoFilter.empty())
{