mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 21:01:11 -07:00
Show restart banner only when a restart is required
Contributes to issue CURA-8587.
This commit is contained in:
parent
1cc3d374a0
commit
3cae6d80b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue