fix listbox auto-redraw issue
This commit is contained in:
parent
5f9a98c7bc
commit
59f3554632
@ -3512,6 +3512,7 @@ namespace nana
|
|||||||
m.flags.checked = ck;
|
m.flags.checked = ck;
|
||||||
arg_listbox arg{*this, ck};
|
arg_listbox arg{*this, ck};
|
||||||
ess_->lister.wd_ptr()->events().checked.emit(arg);
|
ess_->lister.wd_ptr()->events().checked.emit(arg);
|
||||||
|
ess_->update();
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
@ -3539,6 +3540,7 @@ namespace nana
|
|||||||
else if (ess_->lister.last_selected_abs == pos_)
|
else if (ess_->lister.last_selected_abs == pos_)
|
||||||
ess_->lister.last_selected_abs.set_both(npos);
|
ess_->lister.last_selected_abs.set_both(npos);
|
||||||
|
|
||||||
|
ess_->update();
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user