mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
FIX:Previously, null pointers were protected and local variables were not noticed
jira: STUDIO-14002 Change-Id: I78157b91b86544215847c3e76d4f3b9de623c527 (cherry picked from commit 4522edc84de2bc009f59b44ed0ce1d4c954aaaf9)
This commit is contained in:
@@ -1928,7 +1928,7 @@ bool GUI_App::is_blocking_printing(MachineObject *obj_)
|
||||
if (!dev) return true;
|
||||
std::string target_model;
|
||||
if (obj_ == nullptr) {
|
||||
auto obj_ = dev->get_selected_machine();
|
||||
obj_ = dev->get_selected_machine();
|
||||
if (obj_) {
|
||||
target_model = obj_->printer_type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user