diff -r ec153828ded2 -r b789b695b5c6 dialogs/BlockPreviewDialog.py --- 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)