개정판 b880465d
issue #505: zoom command fit symbol item
Change-Id: I19beaa516a40c09297eeceb1ebb7e406976ea5b9
DTI_PID/DTI_PID/QtImageViewer.py | ||
---|---|---|
261 | 261 |
if not self.hasImage(): |
262 | 262 |
return |
263 | 263 |
|
264 |
if zoomNewRect: |
|
264 |
if zoomNewRect is not None:
|
|
265 | 265 |
self.fitInView(zoomNewRect, Qt.KeepAspectRatio) |
266 | 266 |
else: |
267 | 267 |
if self.zoomStack: |
내보내기 Unified diff