dialogs/BlockPreviewDialog.py
changeset 1740 b789b695b5c6
parent 1736 7e61baa047f0
child 1745 f9d32913bad4
--- a/dialogs/BlockPreviewDialog.py	Tue Aug 15 12:17:51 2017 +0300
+++ b/dialogs/BlockPreviewDialog.py	Tue Aug 15 15:50:30 2017 +0300
@@ -62,8 +62,8 @@
 
         # Add function to preview panel so that it answers to graphic elements
         # like Viewer
-        setattr(self.Preview, "GetDrawingMode", lambda:FREEDRAWING_MODE)
-        setattr(self.Preview, "GetScaling", lambda:None)
+        setattr(self.Preview, "GetDrawingMode", lambda: FREEDRAWING_MODE)
+        setattr(self.Preview, "GetScaling", lambda: None)
         setattr(self.Preview, "GetBlockType", controller.GetBlockType)
         setattr(self.Preview, "IsOfType", controller.IsOfType)