You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Which class provides this method?
I cannot find it in the QScintilla doc nor in the QAbstractScrollView doc.
AttributeError: 'SqlEdit' object has no attribute 'setMarginVisible'
Traceback (most recent call last):
File "build/output/python/plugins/db_manager/db_manager.py", line 194, in runSqlWindow
query = DlgSqlWindow(self.iface, db, self)
File "build/output/python/plugins/db_manager/dlg_sql_window.py", line 73, in __init__
self.editSql.setMarginVisible(True)
AttributeError: 'SqlEdit' object has no attribute 'setMarginVisible'
The reason will be displayed to describe this comment to others. Learn more.
QgsCodeEditor::setMarginVisible - probably fails where QgsCodeEditor is not available in python because of missing QScintilla sip files (see HAVE_QSCI_SIP). Fixed in a6954b2
5e36de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rolls back d9f934f. Under which circumstance does it produce an error?
5e36de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know about anything special, I just tried to open an SQL window... Will check
5e36de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which class provides this method?
I cannot find it in the QScintilla doc nor in the QAbstractScrollView doc.
5e36de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QgsCodeEditor::setMarginVisible
- probably fails whereQgsCodeEditor
is not available in python because of missing QScintilla sip files (see HAVE_QSCI_SIP). Fixed in a6954b25e36de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍