Skip to content

Commit

Permalink
Merge pull request #780 from slarosa/db_manager_fix
Browse files Browse the repository at this point in the history
Small fix for DB Manager
  • Loading branch information
brushtyler committed Aug 1, 2013
2 parents 7c312f8 + efd84bd commit 834c5ab
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 @@ -51,6 +51,7 @@ def __init__(self, iface, db, parent=None):
self.restoreGeometry(settings.value("/DB_Manager/sqlWindow/geometry", QByteArray(), type=QByteArray))

self.editSql.setAcceptRichText(False)
self.editSql.setFocus()
SqlCompleter(self.editSql, self.db)
SqlHighlighter(self.editSql, self.db)

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/db_manager/ui/DlgSqlWindow.ui
Expand Up @@ -149,6 +149,9 @@ p, li { white-space: pre-wrap; }
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
</widget>
</item>
</layout>
Expand Down

0 comments on commit 834c5ab

Please sign in to comment.