Sort part counts numerically.

This commit is contained in:
Leonardo Zide
2020-12-23 18:07:12 -08:00
parent 9f5782294e
commit 0282a88c87
4 changed files with 30 additions and 32 deletions
-4
View File
@@ -4264,7 +4264,6 @@ void lcModel::ShowPropertiesDialog()
lcPropertiesDialogOptions Options;
Options.Properties = mProperties;
Options.SetDefault = false;
GetPartsList(gDefaultColor, true, false, Options.PartsList);
@@ -4272,9 +4271,6 @@ void lcModel::ShowPropertiesDialog()
if (Dialog.exec() != QDialog::Accepted)
return;
if (Options.SetDefault)
Options.Properties.SaveDefaults();
if (mProperties == Options.Properties)
return;