Skip to content

Commit

Permalink
Re-enable drawing for CCP4 PySide2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dagewa committed Apr 21, 2021
1 parent c188774 commit da1b485
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dui/outputs_n_viewers/img_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,8 @@ def paintEvent(self, event):

self._create_pens()

# pixmap = QPixmap(self.img)
# painter.drawPixmap(rect, pixmap)
painter.drawText(30, 30, "Image Disabled until SEGV tracked down")
pixmap = QPixmap(self.img)
painter.drawPixmap(rect, pixmap)

if self.np_mask is not None:
painter.drawPixmap(rect, self.mask_pixmap)
Expand Down

0 comments on commit da1b485

Please sign in to comment.