Skip to content

Commit

Permalink
Merge pull request #36 from pllim/fix-dq
Browse files Browse the repository at this point in the history
DQInspect bug fix
  • Loading branch information
pllim committed Nov 11, 2015
2 parents 5a658ee + e640df2 commit b660b36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stginga/plugins/DQInspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ def set_ycen(self):
return self.redo()

def close(self):
self._reset_imdq_on_error()

chname = self.fv.get_channelName(self.fitsimage)
self.fv.stop_local_plugin(chname, str(self))
return True
Expand Down Expand Up @@ -591,6 +593,8 @@ def resume(self):
self.fv.showStatus('Draw a region with the right mouse button')

def stop(self):
self._reset_imdq_on_error()

# remove the canvas from the image
p_canvas = self.fitsimage.get_canvas()
try:
Expand Down

0 comments on commit b660b36

Please sign in to comment.