Skip to content

Commit 3ad8236

Browse files
xavierhPaul Harrison
authored andcommitted
MythUIButtonTree: Update the current node before emitting the itemSelected signal.
Fixes #10078. Signed-off-by: Paul Harrison <pharrison@mythtv.org>
1 parent 3dd7439 commit 3ad8236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/libs/libmythui/mythuibuttontree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ void MythUIButtonTree::SetTreeState(bool refreshAll)
138138
{
139139
m_activeList = list;
140140
list->SetActive(true);
141-
emit itemSelected(list->GetItemCurrent());
142141
DoSetCurrentNode(selectedNode);
142+
emit itemSelected(list->GetItemCurrent());
143143
}
144144

145145
listid++;

0 commit comments

Comments
 (0)