Fix forwardButton text not showing
For whatever reason, QML wasn't able to access
firmwareUpdatePage.spinner. The issue also occured before the previous commit.
This caused the forwardButton to show no text at all.
commit3a52557418e5b5e5bf8a4f9a1cd6f3baaee29245
authorDalton Durst <me@daltondurst.com>
dateWed 22 Aug 2018, 13:55 (8 years ago)
parent9d73ee3
qml/Wizard/Pages/78-firmware-update.qml+1−2
@@ -239,8 +239,7 @@ LocalComponents.Page {
239239 Component {
240240 id: forwardButton
241241 LocalComponents.StackButton {
242− text: !firmwareUpdatePage.hasUpdate && !firmwareUpdatePage.spinner.visible
243− ? i18n.tr("Next") : i18n.tr("Skip");
242+ text: (!firmwareUpdatePage.hasUpdate && !spinner.visible) ? i18n.tr("Next") : i18n.tr("Skip");
244243 onClicked: pageStack.next();
245244 }
246245 }