mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 10:05:57 +08:00
Show restart banner only when a restart is required
Contributes to issue CURA-8587.
This commit is contained in:
parent
1cc3d374a0
commit
3cae6d80b9
@ -232,7 +232,7 @@ Window
|
|||||||
{
|
{
|
||||||
height: quitButton.height + 2 * UM.Theme.getSize("default_margin").width
|
height: quitButton.height + 2 * UM.Theme.getSize("default_margin").width
|
||||||
color: UM.Theme.getColor("primary")
|
color: UM.Theme.getColor("primary")
|
||||||
visible: false // TODO: enable this when restart is required
|
visible: CuraApplication.getPackageManager().hasPackagesToRemoveOrInstall
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
left: parent.left
|
left: parent.left
|
||||||
|
Loading…
x
Reference in New Issue
Block a user