Merge pull request #2135

e9df885 Merchant: fix title bar with custom decorations turned off (selsta)
This commit is contained in:
luigi1111 2019-04-30 15:39:48 -05:00
commit 7ee0f5907f
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1787,7 +1787,7 @@ ApplicationWindow {
MoneroMerchant.MerchantTitlebar { MoneroMerchant.MerchantTitlebar {
id: titleBarOrange id: titleBarOrange
visible: middlePanel.state === "Merchant" visible: persistentSettings.customDecorations && middlePanel.state === "Merchant"
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
onCloseClicked: appWindow.close(); onCloseClicked: appWindow.close();