Made dialog raise to front.

This commit is contained in:
Joey Payne 2016-01-07 12:42:16 -07:00
commit 09d1487b3f

View file

@ -197,8 +197,7 @@ class MainWindow(QtGui.QMainWindow, CommandBase):
recent_projects = self.load_recent_projects()
existing_dialog = ExistingProjectDialog(recent_projects, self.load_project, parent=self)
existing_dialog.show()
self.existing_dialog = ExistingProjectDialog(recent_projects, self.load_project, parent=self)
drect = QtGui.QApplication.desktop().availableGeometry(self)
center = drect.center()
@ -1415,6 +1414,8 @@ class MainWindow(QtGui.QMainWindow, CommandBase):
def show_and_raise(self):
self.show()
self.raise_()
self.existing_dialog.show()
self.existing_dialog.raise_()
if __name__ == '__main__':