Preferences/ShortcutDialog.py

changeset 3366
6084bb3c3911
parent 3345
071afe8be2a1
child 3484
645c12de6b0c
--- a/Preferences/ShortcutDialog.py	Wed Mar 12 19:54:14 2014 +0100
+++ b/Preferences/ShortcutDialog.py	Thu Mar 13 19:21:25 2014 +0100
@@ -56,6 +56,9 @@
         
         self.buttonBox.button(QDialogButtonBox.Ok).installEventFilter(self)
         self.buttonBox.button(QDialogButtonBox.Cancel).installEventFilter(self)
+        
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
 
     def setKeys(self, key, alternateKey,  noCheck, objectType):
         """

eric ide

mercurial