Skip to content

Commit 5bc83dc

Browse files
committed
Fixed saving filepath
1 parent 477c6e5 commit 5bc83dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arho_feature_template/core/plan_manager.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ def get_plan_json(self):
191191
"""Serializes plan and plan outline to JSON"""
192192
dialog = SerializePlan()
193193
if dialog.exec_() == QDialog.Accepted:
194-
self.json_plan_path = dialog.plan_path_edit.text()
195-
self.json_plan_outline_path = dialog.plan_outline_path_edit.text()
194+
self.json_plan_path = str(dialog.plan_file.filePath())
195+
self.json_plan_outline_path = str(dialog.plan_outline_file.filePath())
196196

197197
plan_id = get_active_plan_id()
198198
if not plan_id:

0 commit comments

Comments
 (0)