mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
ExtruderSequenceDialog :
Fixed layouts after the second opening of the dialog. (Removing any extruder from the sequence does not cause an incorrect layout) Validation of entered values added (0 is not a valid value)
This commit is contained in:
commit
bc68b8eaf2
85 changed files with 5505 additions and 554 deletions
|
@ -533,6 +533,8 @@ void apply_extruder_selector(wxBitmapComboBox** ctrl,
|
|||
(*ctrl)->SetSize(size);
|
||||
(*ctrl)->Clear();
|
||||
}
|
||||
if (first_item.empty())
|
||||
(*ctrl)->Hide(); // to avoid unwanted rendering before layout (ExtruderSequenceDialog)
|
||||
|
||||
if (icons.empty() && !first_item.empty()) {
|
||||
(*ctrl)->Append(_(first_item), wxNullBitmap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue