Skip to content

Commit a6954b2

Browse files
committed
[dbmanager] re-enable line number again (followup 5e36de7 and d9f934f)
1 parent f6710b0 commit a6954b2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

python/plugins/db_manager/dlg_sql_window.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def __init__(self, iface, db, parent=None):
7070

7171
self.editSql.setFocus()
7272
self.editSql.setVerticalScrollBarPolicy(Qt.ScrollBarAsNeeded)
73+
self.editSql.setMarginVisible(True)
7374
self.initCompleter()
7475

7576
# allow copying results

python/plugins/db_manager/sqledit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,6 @@ def initLexer(self):
177177

178178
def lexer(self):
179179
return self.mylexer
180+
181+
def setMarginVisible(self, visible):
182+
pass

0 commit comments

Comments
 (0)