Skip to content

Commit

Permalink
fixes #123 and #125? selection window update
Browse files Browse the repository at this point in the history
  • Loading branch information
LemurPwned committed Jun 12, 2018
1 parent 202ff2b commit f45545e
Show file tree
Hide file tree
Showing 3 changed files with 1,083 additions and 1,128 deletions.
9 changes: 7 additions & 2 deletions Windows/Select.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

from buildVerifier import BuildVerifier
class Select(QWidget, Ui_Dialog):
def __init__(self):
def __init__(self, parent=None):
super(Select, self).__init__()
self.eventHandler = None
if BuildVerifier.OS_GLOB_SYS == 'Darwin':
"""
temporary disable for Linux
Expand All @@ -32,5 +33,9 @@ def accept(self):
self.close()

def reject(self):
self.eventHandler(None)
if self.eventHandler is not None:
self.eventHandler(None)
self.close()

def setEventHandler(self, handler):
self.eventHandler = handler
Loading

0 comments on commit f45545e

Please sign in to comment.