fix: expose dialog aliases so About and Manual+ open (1.0.8)

HeaderNavigation and StationCard access dialogs via app.aboutDialog etc.,
but Main.qml never exported those ids as property aliases after the QML
module refactor. Align AboutDialog anchoring with the other dialogs.
This commit is contained in:
Sebastian Palencsar
2026-06-22 16:55:17 +02:00
parent 5eef320b5a
commit 2de7706ec0
5 changed files with 15 additions and 5 deletions

View File

@@ -34,6 +34,9 @@ ApplicationWindow {
property string countrySearchText: ""
property alias searchField: searchToolbar.searchField
property alias stationList: stationPanel.stationList
property alias addDialog: addDialog
property alias editDialog: editDialog
property alias aboutDialog: aboutDialog
function toast(message) {
toastPopup.show(message)

View File

@@ -11,11 +11,11 @@ Dialog {
id: root
required property bool compactMode
required property string appVersion
required property string buildId
property string appVersion: Qt.application.version
property string buildId: "?"
modal: true
anchors.centerIn: Overlay.overlay
anchors.centerIn: parent
width: compactMode ? 360 : 520
height: compactMode ? 560 : 680
standardButtons: Dialog.Ok