Show the slider in the middle when there is only one quality profile available.

Contributes to CURA-6121.
This commit is contained in:
Diego Prado Gesto 2019-03-21 14:18:07 +01:00
parent a58c3997d4
commit fceffce56e

View file

@ -137,7 +137,7 @@ Item
if (availableMin == -1 || (availableMin == 0 && availableMax == 0))
{
// Do not use Math.round otherwise the tickmarks won't be aligned
qualityModel.qualitySliderMarginRight = settingsColumnWidth
qualityModel.qualitySliderMarginRight = settingsColumnWidth / 2
}
else if (availableMin == availableMax)
{