Raise the GUI window on start.

This commit is contained in:
Bastian Kleineidam 2011-04-26 14:29:57 +02:00
parent d6979e750f
commit 933822ac5a

View file

@ -64,6 +64,7 @@ def main (argv=None):
# window before app.exec_() finishes
window = LinkCheckerMain(url=url)
window.show()
window.raise_() # this will raise the window on Mac OS X
drop_privileges()
sys.excepthook = \
lambda etype, evalue, tb: excepthook(window, etype, evalue, tb)