Skip to content

Commit

Permalink
Fixed max sounds not being updated correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni0451 committed Apr 21, 2024
1 parent 9010f28 commit 3012985
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public static void open(final ListFrame.LoadedSong song, final SongView<?> view)
if (lastPosition != null) instance.setLocation(lastPosition);
instance.maxSoundsSpinner.setValue(lastMaxSounds);
instance.volumeSlider.setValue(lastVolume);
instance.playStopButton.doClick();
instance.setVisible(true);
}

Expand Down Expand Up @@ -112,8 +113,6 @@ private SongPlayerFrame(final ListFrame.LoadedSong song, final SongView<?> view)
this.soundSystemComboBox.setSelectedIndex(this.soundSystem.ordinal());
}

this.playStopButton.doClick();

this.setMinimumSize(this.getSize());
}

Expand Down

0 comments on commit 3012985

Please sign in to comment.