controls/CustomToolTip.py
changeset 1771 f68a105000be
parent 1769 4665ba25a0ba
child 1782 5b6ad7a7fd9d
--- a/controls/CustomToolTip.py	Sat Aug 19 00:04:33 2017 +0300
+++ b/controls/CustomToolTip.py	Sat Aug 19 00:11:12 2017 +0300
@@ -106,8 +106,8 @@
                 if len(self.Tip[-1]) < TOOLTIP_MAX_CHARACTERS - 3:
                     self.Tip[-1] += "..."
                 else:
-                    self.Tip[-1] = self.Tip[-1]\
-                        [:TOOLTIP_MAX_CHARACTERS - 3] + "..."
+                    self.Tip[-1] = self.Tip[-1][:TOOLTIP_MAX_CHARACTERS - 3] + \
+                                   "..."
         else:
             self.Tip = tip.splitlines()