Skip to content

Commit

Permalink
Work around an issue with Girder's settings' cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Feb 12, 2020
1 parent c988020 commit b1e8c06
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,8 @@ def _copyAnnotationsFromOtherItem(self, srcItemId, destItem):

def _onSettingChange(self, event):
settingDoc = event.info
if settingDoc['key'] in (
constants.PluginSettings.LARGE_IMAGE_ANNOTATION_HISTORY, ):
self._historyEnabled = Setting().get(
constants.PluginSettings.LARGE_IMAGE_ANNOTATION_HISTORY)
if settingDoc['key'] == constants.PluginSettings.LARGE_IMAGE_ANNOTATION_HISTORY:
self._historyEnabled = settingDoc['value']

def _loadAndMigrateAnnotation(self, id, *args, **kwargs):
"""
Expand Down

0 comments on commit b1e8c06

Please sign in to comment.