Fixed an issue with the configuration dialog on Mac OS X. 5_3_x

Tue, 08 Jan 2013 19:14:45 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 08 Jan 2013 19:14:45 +0100
branch
5_3_x
changeset 2328
2249a7a683b2
parent 2325
b288bcd8185c
child 2330
a288469b3c81

Fixed an issue with the configuration dialog on Mac OS X.
(grafted from 7a9c4dafae6289341399e6ce5120b9769ae90bde)

Preferences/ConfigurationDialog.py file | annotate | diff | comparison | revisions
--- a/Preferences/ConfigurationDialog.py	Tue Jan 08 16:29:55 2013 +0100
+++ b/Preferences/ConfigurationDialog.py	Tue Jan 08 19:14:45 2013 +0100
@@ -20,6 +20,8 @@
 from E5Gui import E5MessageBox
 from E5Gui.E5MainWindow import E5MainWindow
 
+from Globals import isMacPlatform
+
 import QScintilla.Lexers
 
 import Preferences
@@ -383,9 +385,10 @@
         """
         Public slot to accept the buttonBox accept signal.
         """
-        wdg = self.focusWidget()
-        if wdg == self.configList:
-            return
+        if not isMacPlatform():
+            wdg = self.focusWidget()
+            if wdg == self.configList:
+                return
         
         self.accepted.emit()
         

eric ide

mercurial