mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
PhysicalPrinter. PhysicalPrinterDialog improvements
This commit is contained in:
parent
8ac839f427
commit
1a2926050f
10 changed files with 85 additions and 22 deletions
|
@ -149,6 +149,13 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
void show_field(const t_config_option_key& opt_key, bool show = true) {
|
||||
Field* field = get_field(opt_key);
|
||||
field->getWindow()->Show(show);
|
||||
field->getLabel()->Show(show);
|
||||
}
|
||||
void hide_field(const t_config_option_key& opt_key) { show_field(opt_key, false); }
|
||||
|
||||
void set_name(const wxString& new_name) {
|
||||
stb->SetLabel(new_name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue