ENH: update the focus to the new plate when creating
Change-Id: Id7ea18274865966a2e9f89ff0b2eb9799de8e19f (cherry picked from commit 3e13db7f0a2b29201f76b4721259fc2829abe68c)
This commit is contained in:
parent
fc96370abe
commit
21a4b30e1b
|
@ -6028,6 +6028,8 @@ void Plater::priv::on_action_add_plate(SimpleEvent&)
|
|||
if (q != nullptr) {
|
||||
take_snapshot("add partplate");
|
||||
this->partplate_list.create_plate();
|
||||
int new_plate = this->partplate_list.get_plate_count() - 1;
|
||||
this->partplate_list.select_plate(new_plate);
|
||||
update();
|
||||
|
||||
// BBS set default view
|
||||
|
|
Loading…
Reference in New Issue