Skip to content
Permalink
Browse files
Merge pull request #780 from slarosa/db_manager_fix
Small fix for DB Manager
  • Loading branch information
brushtyler committed Aug 1, 2013
2 parents 7c312f8 + efd84bd commit 834c5ab172bde0ea68f4aa8f2dd390e0429d06ee
Showing with 4 additions and 0 deletions.
  1. +1 −0 python/plugins/db_manager/dlg_sql_window.py
  2. +3 −0 python/plugins/db_manager/ui/DlgSqlWindow.ui
@@ -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)

@@ -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>

0 comments on commit 834c5ab

Please sign in to comment.