Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DBManager: add table/layer to canvas double clicking on it
  • Loading branch information
brushtyler committed Oct 9, 2015
1 parent ae1250b commit 9f67f4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/db_manager/db_tree.py
Expand Up @@ -44,6 +44,7 @@ def __init__(self, mainWindow):
self.setAcceptDrops(True)
self.setDropIndicatorShown(True)

self.connect(self, SIGNAL("doubleClicked(const QModelIndex &)"), self.addLayer)
self.connect(self.selectionModel(), SIGNAL("currentChanged(const QModelIndex&, const QModelIndex&)"),
self.currentItemChanged)
self.connect(self, SIGNAL("expanded(const QModelIndex&)"), self.itemChanged)
Expand Down

0 comments on commit 9f67f4c

Please sign in to comment.