Created
October 21, 2015 21:04
-
-
Save dakcarto/49364dccc0f7760b06da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from qgis.utils import iface | |
dbacts = [x for x in iface.databaseMenu().actions() if x.text() == u'DB Manager'] | |
if dbacts: | |
dbacts[0].menu().actions()[0].trigger() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment