Skip to content

Commit 4f2b5b6

Browse files
authored
Fix saving world through GUI (#3052)
Similar to the changes in gazebosim/gz-gui#711. This was missed during the Qt5 -> Qt6 migration. The fileUrl var has changed to selectedFile Signed-off-by: Ian Chen <[email protected]>
1 parent f7bba96 commit 4f2b5b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/resources/GazeboDrawer.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Rectangle {
137137
fileMode: FileDialog.OpenFile
138138
nameFilters: [ "SDF files (*.sdf)" ]
139139
onAccepted: {
140-
saveWorldFileText.text = fileUrl;
140+
saveWorldFileText.text = selectedFile;
141141
}
142142
}
143143

0 commit comments

Comments
 (0)