Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
rampaa committed Sep 3, 2024
1 parent 94bb1a1 commit ffdbee9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions JL.Windows/GUI/PopupWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1941,13 +1941,10 @@ public void HidePopup()

ReadingSelectionWindow.HideWindow();

if (isFirstPopup)
if (isFirstPopup && ChildPopupWindow is not null)
{
if (ChildPopupWindow is not null)
{
ChildPopupWindow.Close();
ChildPopupWindow = null;
}
ChildPopupWindow.Close();
ChildPopupWindow = null;
}

MiningMode = false;
Expand Down

0 comments on commit ffdbee9

Please sign in to comment.