Skip to content
Permalink
Browse files

DBManager: add table/layer to canvas double clicking on it

  • Loading branch information
brushtyler committed Oct 9, 2015
1 parent ae1250b commit 9f67f4cde06ce968b3a9ef6adf9158c0ddd7a637
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/db_manager/db_tree.py
@@ -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)

0 comments on commit 9f67f4c

Please sign in to comment.
You can’t perform that action at this time.