Skip to content
This repository was archived by the owner on Oct 12, 2020. It is now read-only.

Commit 54d9ffd

Browse files
author
c0derMo
committed
- Fix a bug where you couldn't reopen the options panel one you closed it
1 parent 18bd316 commit 54d9ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpotifyNowPlaying/SpotifyNowPlaying/NowPlayingInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private void ArtistsTick(object sender, EventArgs e)
177177

178178
private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
179179
{
180-
if(this.opt == null)
180+
if (this.opt == null || this.opt.IsDisposed)
181181
{
182182
this.opt = new Options();
183183
}

0 commit comments

Comments
 (0)