[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [marble] src/apps/marble-maps: Always keep the search query in the same position.
From: Torsten Rahn <trahn () testo ! de>
Date: 2016-11-30 7:22:12
Message-ID: E1cBzDY-0002TC-3L () code ! kde ! org
[Download RAW message or body]
Git commit c409e6b674fe70b69eb47337caf44c4281dd7e44 by Torsten Rahn.
Committed on 30/11/2016 at 07:18.
Pushed by rahn into branch 'master'.
Always keep the search query in the same position.
M +16 -13 src/apps/marble-maps/MainScreen.qml
https://commits.kde.org/marble/c409e6b674fe70b69eb47337caf44c4281dd7e44
diff --git a/src/apps/marble-maps/MainScreen.qml b/src/apps/marble-maps/MainScreen.qml
index 2eaa94e..fc2b8b8 100644
--- a/src/apps/marble-maps/MainScreen.qml
+++ b/src/apps/marble-maps/MainScreen.qml
@@ -56,6 +56,7 @@ ApplicationWindow {
colorGroup: SystemPalette.Active
}
+
Item {
id: mapItem
anchors {
@@ -235,20 +236,7 @@ ApplicationWindow {
}
}
- Search {
- id: search
- anchors.fill: parent
- marbleQuickItem: marbleMaps
- visible: !navigationManager.visible
- onItemSelected: {
- if (routingManager) {
- routingManager.addSearchResultAsPlacemark(suggestedPlacemark);
- }
- app.selectedPlacemark = suggestedPlacemark;
- app.state = "place"
- }
- }
}
NavigationManager {
@@ -342,6 +330,21 @@ ApplicationWindow {
}
}
+ Search {
+ id: search
+ anchors.fill: parent
+ marbleQuickItem: marbleMaps
+ visible: !navigationManager.visible
+
+ onItemSelected: {
+ if (routingManager) {
+ routingManager.addSearchResultAsPlacemark(suggestedPlacemark);
+ }
+ app.selectedPlacemark = suggestedPlacemark;
+ app.state = "place"
+ }
+ }
+
Loader {
id: dialogLoader
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic