Skip to content

Commit

Permalink
Fix Linux issue when opening device apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Abner-Barros committed Feb 12, 2016
1 parent a743f14 commit d981137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def mainMenu(self):
MacOsName = 'Darwin'
WinOsName = 'Windows'
GetOsName = str(platform.system())
while (MacOsName or WinOsName) == GetOsName:
while WinOsName == GetOsName or MacOsName == GetOsName:
try:
wx.EVT_ENTER_WINDOW(singleChanBtn, self.OnEnter)
wx.EVT_LEAVE_WINDOW(singleChanBtn, self.OnLeave)
Expand Down

0 comments on commit d981137

Please sign in to comment.