Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions preditor/gui/group_tab_widget/group_tab_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,9 @@ def restore_prefs(self, prefs):
missing_name = f"{group_name}/{name}"
workboxes_missing_id.append(missing_name)
continue
else:
# If only the tempfile is set, use it as the workbox_id
workbox_id = Path(tempfile).stem

orphaned_by_instance = tab.get('orphaned_by_instance', False)

Expand Down
2 changes: 1 addition & 1 deletion preditor/prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def get_prefs_updates():
updates (dict): The dict of defined updates
"""
updates = {}
path = resourcePath(r"pref_updates\pref_updates.json")
path = resourcePath("pref_updates/pref_updates.json")
try:
updates = utils.Json(path).load()
except (FileNotFoundError, json.decoder.JSONDecodeError):
Expand Down
2 changes: 1 addition & 1 deletion preditor/resource/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ bdev_path_temp = /tmp/
bdev_path_blur = $HOME/.blur
bdev_path_prefs_shared = $BDEV_PATH_PREFS
bdev_path_prefs = $BDEV_PATH_BLUR/userprefs
bdev_cmd_browse = nemo %(filepath)s
bdev_cmd_browse = xdg-open %(filepath)s