mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-23 10:52:15 +00:00
FIX: back up the selected printer in prepare page
jira: none Change-Id: Ibd163f78c4ce911a88459ecca96660ed4aa68ab2 (cherry picked from commit 392e8e18915d0db26ca8a3840d5783cc81cd1c1c)
This commit is contained in:
@@ -77,6 +77,8 @@ public:
|
||||
void set_filament_idx(const int extr_idx) { m_filament_idx = extr_idx; }
|
||||
int get_filament_idx() const { return m_filament_idx; }
|
||||
|
||||
std::string get_selected_dev_id() const { return m_selected_dev_id; }
|
||||
|
||||
// BBS
|
||||
wxString get_tooltip(const Preset& preset);
|
||||
|
||||
@@ -132,6 +134,8 @@ protected:
|
||||
int m_first_printer_idx = 0;
|
||||
int m_last_printer_idx = 0;
|
||||
|
||||
std::string m_selected_dev_id;
|
||||
|
||||
PrinterTechnology printer_technology {ptAny};
|
||||
|
||||
void invalidate_selection();
|
||||
|
||||
Reference in New Issue
Block a user