aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCastagnaIT <gottardo.stefano.83@gmail.com>2023-01-04 16:28:05 +0100
committerCastagnaIT <gottardo.stefano.83@gmail.com>2023-01-05 10:57:46 +0100
commite961791ddde9c92628957f644ab36d28f3f3d0c3 (patch)
tree003249591885d2520a203c617794d77928358460
parentfac12d4e0dd37563b61c18e1463f6be3798db8fb (diff)
downloadxbmc-e961791ddde9c92628957f644ab36d28f3f3d0c3.tar.xz
[DialogVideoInfo] Fixed empty dialog when edit season title
-rw-r--r--xbmc/video/dialogs/GUIDialogVideoInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/video/dialogs/GUIDialogVideoInfo.cpp b/xbmc/video/dialogs/GUIDialogVideoInfo.cpp
index 083b416ac3..240d672744 100644
--- a/xbmc/video/dialogs/GUIDialogVideoInfo.cpp
+++ b/xbmc/video/dialogs/GUIDialogVideoInfo.cpp
@@ -1422,7 +1422,7 @@ bool CGUIDialogVideoInfo::UpdateVideoItemTitle(const std::shared_ptr<CFileItem>&
else if (mediaType == MediaTypeSeason)
{
database.GetSeasonInfo(iDbId, detail);
- title = detail.m_strSortTitle;
+ title = detail.m_strSortTitle.empty() ? detail.m_strTitle : detail.m_strSortTitle;
}
else if (mediaType == MediaTypeTvShow)
{