Release commit

This commit is contained in:
Pezz89
2015-04-06 18:15:21 +02:00
parent 83fc4917df
commit 7d6278851e
+5 -2
View File
@@ -229,6 +229,8 @@ class MainWindow(wx.Frame):
img = img.Scale(120,120)
self.icon = wx.StaticBitmap(self, bitmap=wx.BitmapFromImage(img))
if t["duration"] - t["position"] <= 30:
if self.soundbool:
wx.Bell()
if self.flashbool:
self.panel.SetBackgroundColour(wx.NullColour)
self.panel.Refresh()
@@ -238,8 +240,9 @@ class MainWindow(wx.Frame):
self.panel.Refresh()
self.flashbool = True
else:
self.panel.SetBackgroundColour(wx.NullColour)
self.panel.Refresh()
self.soundbool = True
self.panel.SetBackgroundColour(wx.NullColour)
self.panel.Refresh()
#--------------------------------------------------------------