Skip to content

Commit

Permalink
BUG: Settings - Pass on errors encountered when initing setting value
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtJacobson committed Jun 15, 2020
1 parent 16ba79c commit 69b43ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qtpyvcp/utilities/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ def notify(self, slot, update=True):
self.signal.connect(slot)

if update:
slot(self.value)
try:
slot(self.value)
except:
pass

def __get__(self, instance, owner):
self.instance = instance
Expand Down

0 comments on commit 69b43ae

Please sign in to comment.