Re: [PyQt] QMessageBox does not get focus

2009-09-27 Thread Mads Ipsen
Mads Ipsen wrote: When I launch a QMessageBox like below, from a QMainWindow the box does not have keyboard focus (its not the active window), implying that the key-shortcuts cannot be used. Any fixes or suggestions? Mads QtGui.QMessageBox.warning(self, 'Some title',

[PyQt] QMessageBox does not get focus

2009-09-27 Thread Mads Ipsen
When I launch a QMessageBox like below, from a QMainWindow the box does not have keyboard focus (its not the active window), implying that the key-shortcuts cannot be used. Any fixes or suggestions? Mads QtGui.QMessageBox.warning(self, 'Some title', self.tr("The