Skip to content


Browse files Browse the repository at this point in the history
[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 ffa431c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/db_manager/
Expand Up @@ -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):
Expand Down

0 comments on commit ffa431c

Please sign in to comment.