mirror of
https://github.com/munki/munki.git
synced 2026-05-04 11:29:16 -05:00
If log window is already open when Command-L is invoked, just bring the log window to the front; don't re-initialize the window
This commit is contained in:
@@ -157,6 +157,11 @@ class MSULogWindowController(NSObject):
|
||||
@IBAction
|
||||
def showLogWindow_(self, notification):
|
||||
'''Show the log window.'''
|
||||
|
||||
if self.window.isVisible():
|
||||
# It's already open, just move it to front
|
||||
self.window.makeKeyAndOrderFront_(self)
|
||||
return
|
||||
|
||||
consoleuser = munki.getconsoleuser()
|
||||
if consoleuser == None or consoleuser == u"loginwindow":
|
||||
|
||||
Reference in New Issue
Block a user