bugfix
This commit is contained in:
parent
dc29a9060e
commit
c44887e531
@ -103,11 +103,11 @@ class ViewBox(GraphicsWidget):
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
self.exportMethods = collections.OrderedDict([
|
#self.exportMethods = collections.OrderedDict([
|
||||||
('SVG', self.saveSvg),
|
#('SVG', self.saveSvg),
|
||||||
('Image', self.saveImage),
|
#('Image', self.saveImage),
|
||||||
('Print', self.savePrint),
|
#('Print', self.savePrint),
|
||||||
])
|
#])
|
||||||
|
|
||||||
self.setFlag(self.ItemClipsChildrenToShape)
|
self.setFlag(self.ItemClipsChildrenToShape)
|
||||||
self.setFlag(self.ItemIsFocusable, True) ## so we can receive key presses
|
self.setFlag(self.ItemIsFocusable, True) ## so we can receive key presses
|
||||||
|
Loading…
Reference in New Issue
Block a user