Skip to content

Commit

Permalink
Hide AUP button on secondary screen if option set
Browse files Browse the repository at this point in the history
Fixes #15 again
  • Loading branch information
m-wynn committed Sep 21, 2019
1 parent 947440e commit a8f6cf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ Rectangle {

Button {
id: aupButton
visible: config.primary_screen_only == "true" ? primaryScreen : true
width: 200
text: qsTr("Acceptable Use Policy")
highlighted: true
Expand Down Expand Up @@ -420,6 +421,7 @@ Rectangle {

DropShadow {
id: aupButtonShadow
visible: config.primary_screen_only == "true" ? primaryScreen : true
anchors.fill: aupButton
horizontalOffset: 0
verticalOffset: 1
Expand Down

0 comments on commit a8f6cf4

Please sign in to comment.