Remove a line that is not needed anymore.
Now spinner widget is drawn correctly and min value >= 1 restriction exists in xml file anyway. In this way it shows correct value when particles effects are manually set to 0 in config.xml.
This commit is contained in:
@@ -63,7 +63,6 @@ void CustomVideoSettingsDialog::beforeAddingWidgets()
|
||||
particles_effects->addLabel(_("Important only"));
|
||||
particles_effects->addLabel(_("Enabled"));
|
||||
particles_effects->setValue(UserConfigParams::m_particles_effects);
|
||||
particles_effects->setMin(1);
|
||||
|
||||
SpinnerWidget* geometry_level = getWidget<SpinnerWidget>("geometry_detail");
|
||||
//I18N: Geometry level disabled : lowest level, no details
|
||||
|
||||
Reference in New Issue
Block a user