id summary reporter owner description type status priority milestone component version severity resolution keywords cc mlocked 10078 MythUIButtonTree emit itemSelected too early Xavier Hervy paulh "I believe the itemSelected signal is emitted too early, it should be emitted after the currentNode have been set. My use case: I have a MythUIScreen with a m_title (MythUIText) I also have m_buttonTree (MythUIButtonTree) I connected itemSelected from the buttonTree to a itemSelected slot of my MythUIScreen: {{{ void MyScreen::itemSelected(MythUIButtonListItem *item) { MythGenericTree * node = m_buttonTree->GetCurrentNode(); if (node) { MythGenericTree * parentNode = node->getParent(); if (parentNode) m_title->SetText(parentNode->GetText()); } } }}} because the signal is emitted before the current node is actually updated, I get the parent's name of the previous current node instead of the parent's name of the current node. This patch emit itemSelected after the currentNode is updated" Patch - Bug Fix closed minor 0.25 MythTV - User Interface Library Master Head medium fixed mythuibuttontree 0