~phablet-team/ubuntu-silo-installer/trunk

« back to all changes in this revision

Viewing changes to UbuntuSiloInstaller/SiloPage.qml

  • Committer: Florian Boucault
  • Date: 2016-03-03 15:08:40 UTC
  • Revision ID: florian.boucault@canonical.com-20160303150840-257nq6902ghbnnvk
Add button to allow upgrade of installed silos

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
                    text: i18n.tr("Uninstall")
118
118
                    enabled: !installer.uninstalling
119
119
                    visible: siloPage.request && installer.installed
 
120
                    color: UbuntuColors.red
 
121
                    onClicked: installer.uninstall()
 
122
                }
 
123
 
 
124
                Button {
 
125
                    id: upgradeButton
 
126
                    text: i18n.tr("Upgrade")
 
127
                    enabled: !installer.uninstalling
 
128
                    visible: siloPage.request && installer.installed
120
129
                    color: UbuntuColors.lightGrey
121
 
                    onClicked: installer.uninstall()
 
130
                    onClicked: installer.install()
122
131
                }
123
132
 
124
133
                ActivityIndicator {