void ModalListPicker::LBSelChangedSlot(const ListBox::SelectionSet& rows) { if (rows.empty()) { SignalChanged(m_lb_wnd->end()); } else { auto sel_it = *rows.begin(); SignalChanged(sel_it); } }
void ModalListPicker::LBSelChangedSlot(const ListBox::SelectionSet& rows) { Hide(); if (rows.empty()) { SelChangedSignal(m_lb_wnd->end()); } else { ListBox::iterator sel_it = *rows.begin(); SelChangedSignal(sel_it); } m_done = true; }