Skip to content

Commit 097c9a5

Browse files
authored
Fix FileDialog when saving world (#3110)
Signed-off-by: Ian Chen <ichen@openrobotics.org>
1 parent 019e38c commit 097c9a5

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
@@ -134,7 +134,7 @@ Rectangle {
134134
id: saveWorldDialog
135135
title: "Save world"
136136
currentFolder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
137-
fileMode: FileDialog.OpenFile
137+
fileMode: FileDialog.SaveFile
138138
nameFilters: [ "SDF files (*.sdf)" ]
139139
onAccepted: {
140140
saveWorldFileText.text = fileUrl;

0 commit comments

Comments
 (0)