Fixed menubar item's name in respect to printer_technology

This commit is contained in:
YuSanka 2019-04-30 13:51:36 +02:00
parent 52c28578d6
commit 646986348a
3 changed files with 31 additions and 2 deletions

View file

@ -3747,6 +3747,9 @@ void Plater::set_printer_technology(PrinterTechnology printer_technology)
p->label_btn_export = printer_technology == ptFFF ? L("Export G-code") : L("Export");
p->label_btn_send = printer_technology == ptFFF ? L("Send G-code") : L("Send to printer");
if (wxGetApp().mainframe)
wxGetApp().mainframe->update_menubar();
}
void Plater::changed_object(int obj_idx)