Skip to content

Commit

Permalink
Fix MythUISpinBox::AddSelection() when a label is used
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Oct 9, 2012
1 parent 7686ac7 commit 24d4d55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mythtv/libs/libmythui/mythuispinbox.cpp
Expand Up @@ -97,8 +97,10 @@ void MythUISpinBox::AddSelection(int value, const QString &label)
{
item = GetItemByData(value);
if (item)
{
item->SetText(label);
return;
return;
}
}

int insertPos=-1;
Expand Down

0 comments on commit 24d4d55

Please sign in to comment.