mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:05:54 +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
|
||||
color: UM.Theme.getColor("primary")
|
||||
visible: false // TODO: enable this when restart is required
|
||||
visible: CuraApplication.getPackageManager().hasPackagesToRemoveOrInstall
|
||||
anchors
|
||||
{
|
||||
left: parent.left
|
||||
|
Loading…
x
Reference in New Issue
Block a user