mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-23 12:55:37 -07:00
NEW:support for dynamic configuration files
Change-Id: Iec433ca1f75f223af68c5103013ff47d1acf1678 (cherry picked from commit 40acd7f6b11e9b2b3403a84b4b7d4b70da5d0ed2)
This commit is contained in:
parent
5e23f73866
commit
23079b23df
20 changed files with 569 additions and 433 deletions
|
|
@ -1039,12 +1039,6 @@ void SendToPrinterDialog::update_show_status()
|
|||
|
||||
reset_timeout();
|
||||
|
||||
bool is_suppt = obj_->is_function_supported(PrinterFunction::FUNC_SEND_TO_SDCARD);
|
||||
if (!is_suppt) {
|
||||
show_status(PrintDialogStatus::PrintStatusNotSupportedSendToSDCard);
|
||||
return;
|
||||
}
|
||||
|
||||
// reading done
|
||||
if (obj_->is_in_upgrading()) {
|
||||
show_status(PrintDialogStatus::PrintStatusInUpgrading);
|
||||
|
|
@ -1067,7 +1061,12 @@ void SendToPrinterDialog::update_show_status()
|
|||
show_status(PrintDialogStatus::PrintStatusNotOnTheSameLAN);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (!obj_->is_support_send_to_sdcard) {
|
||||
show_status(PrintDialogStatus::PrintStatusNotSupportedSendToSDCard);
|
||||
return;
|
||||
}
|
||||
|
||||
show_status(PrintDialogStatus::PrintStatusReadingFinished);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue