mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Attach Debugger to console fails (PY-22999)
Do not break backward compatibility for pyqt option
This commit is contained in:
@@ -16,6 +16,10 @@ def patch_qt(qt_support_mode):
|
||||
if not qt_support_mode:
|
||||
return
|
||||
|
||||
if qt_support_mode is True or qt_support_mode == 'True':
|
||||
# do not break backward compatibility
|
||||
qt_support_mode = 'auto'
|
||||
|
||||
# Avoid patching more than once
|
||||
global _patched_qt
|
||||
if _patched_qt:
|
||||
|
||||
Reference in New Issue
Block a user