Fixed an issue with the configuration dialog on Mac OS 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
changeset 2326
7a9c4dafae62
parent 2308
f83826045e51
child 2327
b054ffacfbe6

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

Preferences/ConfigurationDialog.py file | annotate | diff | comparison | revisions
--- a/Preferences/ConfigurationDialog.py	Thu Jan 03 16:17:04 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