Skip to content

Commit

Permalink
Fix inability to switch tracks emergently
Browse files Browse the repository at this point in the history
  • Loading branch information
Himura2la committed Jan 28, 2020
1 parent 847bf49 commit 5b95194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -952,10 +952,10 @@ class MainWindow(wx.Frame):
# -------------------------------------------------- Player --------------------------------------------------

def play_async(self, e=None):
if self.is_playing:
num = self.get_num(self.grid.GetGridCursorRow())
if self.is_playing and self.num_in_player == num:
self.status(_("ALREADY PLAYING! Hit Esc to restart!"))
return
num = self.get_num(self.grid.GetGridCursorRow())
if num == 'countdown':
notes = self.grid.GetCellValue(self.grid.GetGridCursorRow(), self.grid_cols.index(Columns.NOTES))
self.ensure_proj_win()
Expand Down

0 comments on commit 5b95194

Please sign in to comment.