Merge branch 'hotfix-1.6.2' into develop-1.7
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -751,15 +751,27 @@ namespace nana
|
||||
if((pos == npos) || (pos >= list_.size()))
|
||||
{
|
||||
pos = list_.size();
|
||||
|
||||
if(evt_agent_)
|
||||
if(!evt_agent_->adding(pos))
|
||||
return false;
|
||||
|
||||
this->list_.emplace_back();
|
||||
}
|
||||
else
|
||||
{
|
||||
if(evt_agent_)
|
||||
if(!evt_agent_->adding(pos))
|
||||
return false;
|
||||
|
||||
list_.emplace(iterator_at(pos));
|
||||
}
|
||||
|
||||
basis_.active = pos;
|
||||
if(evt_agent_)
|
||||
{
|
||||
evt_agent_->added(pos);
|
||||
erase(pos);
|
||||
evt_agent_->activated(pos);
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -584,7 +584,16 @@ namespace drawerbase {
|
||||
{
|
||||
internal_scope_guard lock;
|
||||
auto editor = get_drawer_trigger().editor();
|
||||
if(editor && editor->select(yes))
|
||||
if (editor && editor->select(yes))
|
||||
API::refresh_window(*this);
|
||||
}
|
||||
|
||||
|
||||
void textbox::select_points(nana::upoint arg_a, nana::upoint arg_b)
|
||||
{
|
||||
auto editor = get_drawer_trigger().editor();
|
||||
internal_scope_guard lock;
|
||||
if (editor && editor->select_points(arg_a, arg_b))
|
||||
API::refresh_window(*this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user