mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 15:57:52 -06:00
Add an extra check to enforce min height of printSetupSelector
CURA-6478
This commit is contained in:
parent
db1a5ec8c0
commit
79fbe12e92
1 changed files with 7 additions and 1 deletions
|
@ -201,7 +201,13 @@ Item
|
||||||
{
|
{
|
||||||
h -= mouse_absolute_y - base.height;
|
h -= mouse_absolute_y - base.height;
|
||||||
}
|
}
|
||||||
|
// Enforce a minimum size (again).
|
||||||
|
// This is a bit of a hackish way to do it, but we've seen some ocasional reports that the size
|
||||||
|
// could get below the the minimum height.
|
||||||
|
if(h < absoluteMinimumHeight)
|
||||||
|
{
|
||||||
|
h = absoluteMinimumHeight;
|
||||||
|
}
|
||||||
UM.Preferences.setValue("view/settings_list_height", h);
|
UM.Preferences.setValue("view/settings_list_height", h);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue