Exemple #1
0
void ModalListPicker::LBSelChangedSlot(const ListBox::SelectionSet& rows)
{
    if (rows.empty()) {
        SignalChanged(m_lb_wnd->end());
    } else {
        auto sel_it = *rows.begin();
        SignalChanged(sel_it);
    }
}
Exemple #2
0
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;
}