Preferences/ConfigurationDialog.py

branch
5_3_x
changeset 2328
2249a7a683b2
parent 2302
f29e9405c851
child 2408
dc3a7c9d8f6e
child 2475
c74e1cff7f3f
equal deleted inserted replaced
2325:b288bcd8185c 2328:2249a7a683b2
17 17
18 from E5Gui.E5Application import e5App 18 from E5Gui.E5Application import e5App
19 from E5Gui.E5LineEdit import E5ClearableLineEdit 19 from E5Gui.E5LineEdit import E5ClearableLineEdit
20 from E5Gui import E5MessageBox 20 from E5Gui import E5MessageBox
21 from E5Gui.E5MainWindow import E5MainWindow 21 from E5Gui.E5MainWindow import E5MainWindow
22
23 from Globals import isMacPlatform
22 24
23 import QScintilla.Lexers 25 import QScintilla.Lexers
24 26
25 import Preferences 27 import Preferences
26 28
381 383
382 def accept(self): 384 def accept(self):
383 """ 385 """
384 Public slot to accept the buttonBox accept signal. 386 Public slot to accept the buttonBox accept signal.
385 """ 387 """
386 wdg = self.focusWidget() 388 if not isMacPlatform():
387 if wdg == self.configList: 389 wdg = self.focusWidget()
388 return 390 if wdg == self.configList:
391 return
389 392
390 self.accepted.emit() 393 self.accepted.emit()
391 394
392 def __setupUi(self): 395 def __setupUi(self):
393 """ 396 """

eric ide

mercurial