mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
ENH: update the focus to the new plate when creating
Change-Id: Id7ea18274865966a2e9f89ff0b2eb9799de8e19f (cherry picked from commit 3e13db7f0a2b29201f76b4721259fc2829abe68c)
This commit is contained in:
@@ -6028,6 +6028,8 @@ void Plater::priv::on_action_add_plate(SimpleEvent&)
|
|||||||
if (q != nullptr) {
|
if (q != nullptr) {
|
||||||
take_snapshot("add partplate");
|
take_snapshot("add partplate");
|
||||||
this->partplate_list.create_plate();
|
this->partplate_list.create_plate();
|
||||||
|
int new_plate = this->partplate_list.get_plate_count() - 1;
|
||||||
|
this->partplate_list.select_plate(new_plate);
|
||||||
update();
|
update();
|
||||||
|
|
||||||
// BBS set default view
|
// BBS set default view
|
||||||
|
|||||||
Reference in New Issue
Block a user