Skip to content

Commit

Permalink
Fix double click event in InfinityAmp playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Argent77 committed Dec 2, 2024
1 parent e2ea8b4 commit 3f408e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/infinity/gui/InfinityAmpPlus.java
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,7 @@ public void mouseClicked(MouseEvent e) {
addToPlayList(availableList.getSelectedIndex());
}
} else if (e.getSource() == playList) {
if (!isPlaying()) {
if (!isPlaying() && e.getClickCount() == 2) {
setPlaying(true);
}
}
Expand Down

0 comments on commit 3f408e2

Please sign in to comment.