Hide bambu-specific calibration tab for non-bambu printers (#2197) (#2259)

* Hide bambu-specific calibration tab for non-bambu printers (#2197)

* Hide Calibration tab only

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Noisyfox 2023-09-30 10:03:13 +08:00 committed by GitHub
parent d6c4c4b46b
commit d4e6b4fe47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 11 deletions

View file

@ -1160,6 +1160,10 @@ void Sidebar::update_presets(Preset::Type preset_type)
printer_tab->update();
}
bool isBBL = preset_bundle.is_bbl_vendor();
wxGetApp().mainframe->show_calibration_button(!isBBL);
break;
}
default: break;