mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-21 03:52:15 -07: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:
parent
6f52bae686
commit
20a9682c18
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue