Skip to content

Commit dc8d379

Browse files
committed
Fix retrieving file paths
1 parent 99dc94e commit dc8d379

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
@@ -142,8 +142,8 @@ def get_plan_json(self):
142142
"""Serializes plan and plan outline to JSON"""
143143
dialog = SerializePlan()
144144
if dialog.exec_() == QDialog.Accepted:
145-
self.json_plan_path = dialog.plan_path_edit.text()
146-
self.json_plan_outline_path = dialog.plan_outline_path_edit.text()
145+
self.json_plan_path = str(dialog.plan_file.filePath())
146+
self.json_plan_outline_path = str(dialog.plan_outline_file.filePath())
147147

148148
plan_id = get_active_plan_id()
149149
if not plan_id:

0 commit comments

Comments
 (0)