From 21a4b30e1b49a5cd669aad84df1ba74ce15eb1c9 Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Thu, 16 Feb 2023 14:19:34 +0800 Subject: [PATCH] ENH: update the focus to the new plate when creating Change-Id: Id7ea18274865966a2e9f89ff0b2eb9799de8e19f (cherry picked from commit 3e13db7f0a2b29201f76b4721259fc2829abe68c) --- src/slic3r/GUI/Plater.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 773aee0aa..07c2fd633 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -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