Sort part counts numerically.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user