Skip to content
Permalink
Browse files

Persist settings after changing default printer profile

Fixes #1541
  • Loading branch information...
foosel committed Oct 14, 2016
1 parent bc5044b commit 3f8dde75d5197d4036aa18c4a8c7fd7231202c6f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/octoprint/printer/profile.py
@@ -228,6 +228,7 @@ def save(self, profile, allow_overwrite=False, make_default=False):

if make_default:
settings().set(["printerProfiles", "default"], identifier)
settings().save()

if self._current is not None and self._current["id"] == identifier:
self.select(identifier)

0 comments on commit 3f8dde7

Please sign in to comment.
You can’t perform that action at this time.