Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui] dialogvideoinfo: show selectdialog for directorbutton if amount of directors > 1 #10776

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

phil65
Copy link
Contributor

@phil65 phil65 commented Oct 26, 2016

Director button in videoinfo dialog doesnt work in case the amount of directors is > 1.
This fixes those cases by showing a selectdialog before the actual search which allows to choose between all available directors.

@ronie @xhaggi

pDlgSelect->Add(director);
pDlgSelect->Open();

auto iItem = pDlgSelect->GetSelectedItem();

This comment was marked as spam.

}
else
{
auto strDirector = StringUtils::Join(m_movieItem->GetVideoInfoTag()->m_director, g_advancedSettings.m_videoItemSeparator);

This comment was marked as spam.

if (iItem < 0)
return true;
OnSearch(directors[iItem]);

This comment was marked as spam.

@ronie
Copy link
Member

ronie commented Oct 26, 2016

nice, i like the idea +1

@phil65
Copy link
Contributor Author

phil65 commented Oct 26, 2016

@xhaggi updated.

Copy link
Member

@xhaggi xhaggi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@phil65 phil65 added Type: Fix non-breaking change which fixes an issue v17 Krypton Component: GUI engine labels Oct 27, 2016
@phil65
Copy link
Contributor Author

phil65 commented Oct 27, 2016

jenkins build this please.

@phil65
Copy link
Contributor Author

phil65 commented Oct 27, 2016

Jenkins doesnt listen....
jenkins build this please.

@phil65 phil65 merged commit 734e150 into xbmc:master Oct 28, 2016
@phil65 phil65 deleted the director_selectdialog branch October 28, 2016 02:27
@MartijnKaijser MartijnKaijser added this to the Krypton 17.0-beta6 milestone Oct 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: GUI engine Type: Fix non-breaking change which fixes an issue v17 Krypton
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants