Fix #1282970 [Editor crashes when changing <p> tag to <h1>](https://bugs.launchpad.net/calibre/+bug/1282970)

This commit is contained in:
Kovid Goyal 2014-02-21 16:29:38 +05:30
parent 70d96e7a07
commit f6b32541e6

View File

@ -66,5 +66,6 @@ class SyntaxHighlighter(QSyntaxHighlighter):
import traceback import traceback
traceback.print_exc() traceback.print_exc()
finally: finally:
QApplication.processEvents() # Try to keep the editor responsive to user input # Disabled as it causes crashes
pass # QApplication.processEvents() # Try to keep the editor responsive to user input