Merge lp:~costales/unav/0.68-centerpos-btn-landscape into lp:unav

Proposed by costales
Status: Merged
Merged at revision: 183
Proposed branch: lp:~costales/unav/0.68-centerpos-btn-landscape
Merge into: lp:unav
Diff against target: 14 lines (+2/-0)
1 file modified
qml/Main.qml (+2/-0)
To merge this branch: bzr merge lp:~costales/unav/0.68-centerpos-btn-landscape
Reviewer Review Type Date Requested Status
uNav developers Pending
Review via email: mp+321639@code.launchpad.net

Description of the change

Center position btn is not changing the opacity in landscape

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'qml/Main.qml'
--- qml/Main.qml 2017-03-21 22:06:37 +0000
+++ qml/Main.qml 2017-04-01 21:17:12 +0000
@@ -561,8 +561,10 @@
561 }561 }
562562
563 ActionIcon {563 ActionIcon {
564 id: centerPosBtn
564 icon.name: mainPageStack.center_onpos ? "media-optical-symbolic" : "gps"565 icon.name: mainPageStack.center_onpos ? "media-optical-symbolic" : "gps"
565 enabled: navigationPage.buttonsEnabled && mainPageStack.center_onpos !== 2566 enabled: navigationPage.buttonsEnabled && mainPageStack.center_onpos !== 2
567 opacity: centerPosBtn.enabled ? 1.0 : 0.2 // enabled property is not changing the opacity of the icon
566 onClicked: {568 onClicked: {
567 if (mainPageStack.center_onpos === 0) {569 if (mainPageStack.center_onpos === 0) {
568 notificationBar.text = i18n.tr("Searching your position… This could take a while");570 notificationBar.text = i18n.tr("Searching your position… This could take a while");

Subscribers

People subscribed via source and target branches