mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-29 02:13:13 +08:00
FIX: the status of printer is incorrect when open file
jira: none Change-Id: I1e61de1c56573f64ca4ca7413aff3bf1d228396a
This commit is contained in:
parent
0e1b399859
commit
3592429383
@ -4850,7 +4850,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||
DeviceManager *dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
||||
if (dev) {
|
||||
MachineObject *obj = dev->get_selected_machine();
|
||||
if (obj) {
|
||||
if (obj && obj->is_info_ready()) {
|
||||
if (obj->m_extder_data.extders.size() > 0) {
|
||||
PresetBundle *preset_bundle = wxGetApp().preset_bundle;
|
||||
Preset &printer_preset = preset_bundle->printers.get_selected_preset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user