Release commit
This commit is contained in:
@@ -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,6 +240,7 @@ class MainWindow(wx.Frame):
|
||||
self.panel.Refresh()
|
||||
self.flashbool = True
|
||||
else:
|
||||
self.soundbool = True
|
||||
self.panel.SetBackgroundColour(wx.NullColour)
|
||||
self.panel.Refresh()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user