QScintilla/EditorButtonsWidget.py

changeset 5412
db5a520f69d3
parent 5411
a163fbbf2bea
child 5416
16366120b523
--- a/QScintilla/EditorButtonsWidget.py	Tue Jan 10 19:15:17 2017 +0100
+++ b/QScintilla/EditorButtonsWidget.py	Tue Jan 10 19:23:25 2017 +0100
@@ -340,7 +340,9 @@
         if self.__provider:
             self.__buttons["quote"].setEnabled(
                 self.__provider.hasQuote() and (
-                self.__provider.kind() == "html" or hasSelection))
+                    self.__provider.kind() == "html" or hasSelection
+                )
+            )
             self.__buttons["hyperlink"].setEnabled(
                 self.__provider.hasHyperlink() and not hasSelection)
             self.__buttons["line"].setEnabled(

eric ide

mercurial