[bugfix] possible that dialog was hidden behind other windows

This commit is contained in:
marcel 2017-06-28 16:24:24 +02:00
parent b140dd4f53
commit 2f7033329b

View File

@ -2185,7 +2185,7 @@ class PylotParaBox(QtGui.QWidget):
def get_groupbox_dialog(self, name): def get_groupbox_dialog(self, name):
widget = self.get_groupbox_exclusive(name) widget = self.get_groupbox_exclusive(name)
dialog = QtGui.QDialog(self.parent()) dialog = QtGui.QDialog(self.parent(), 1)
layout = QtGui.QVBoxLayout() layout = QtGui.QVBoxLayout()
dialog.setLayout(layout) dialog.setLayout(layout)
buttonbox = QtGui.QDialogButtonBox(QDialogButtonBox.Ok | buttonbox = QtGui.QDialogButtonBox(QDialogButtonBox.Ok |