aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/TopBar.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/TopBar.qml b/qt-mobile/qml/TopBar.qml
index 338b78f87..a2bab331e 100644
--- a/qt-mobile/qml/TopBar.qml
+++ b/qt-mobile/qml/TopBar.qml
@@ -83,7 +83,7 @@ Rectangle {
}
Item {
id: editButton
- anchors.right: parent.right
+ anchors.right: contextDrawer.enabled ? contextMenu.left : parent.right
anchors.top: parent.top
Layout.preferredHeight: editButtonIcon.height
width: editButtonIcon.width
@@ -117,7 +117,7 @@ Rectangle {
}
Item {
id: backButton
- anchors.right: parent.right
+ anchors.right: contextDrawer.enabled ? contextMenu.left : parent.right
anchors.top: parent.top
Layout.preferredHeight: backButtonIcon.height
width: backButtonIcon.width