Skip to content
Browse files

[dbmanager] Don't set parent for dbmanager window, allows for minimising

window. Unminimise window when activating dbmanager.
  • Loading branch information
nyalldawson committed Sep 15, 2014
1 parent c4c58ab commit ffa431c28deccd40102e2743e54620205395957b
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/db_manager/
@@ -65,10 +65,11 @@ def run(self):
# keep opened only one instance
if self.dlg == None:
from db_manager import DBManager
self.dlg = DBManager(self.iface, self.iface.mainWindow())
self.dlg = DBManager(self.iface)
QObject.connect(self.dlg, SIGNAL("destroyed(QObject *)"), self.onDestroyed)
self.dlg.setWindowState( self.dlg.windowState() & ~Qt.WindowMinimized )

def onDestroyed(self, obj):

0 comments on commit ffa431c

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