Skip to content

Commit

Permalink
[dbmanager] re-enable line number again (followup 5e36de7 and d9f934f)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 3, 2016
1 parent f6710b0 commit a6954b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/db_manager/dlg_sql_window.py
Expand Up @@ -70,6 +70,7 @@ def __init__(self, iface, db, parent=None):

self.editSql.setFocus()
self.editSql.setVerticalScrollBarPolicy(Qt.ScrollBarAsNeeded)
self.editSql.setMarginVisible(True)
self.initCompleter()

# allow copying results
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/db_manager/sqledit.py
Expand Up @@ -177,3 +177,6 @@ def initLexer(self):

def lexer(self):
return self.mylexer

def setMarginVisible(self, visible):
pass

0 comments on commit a6954b2

Please sign in to comment.