Skip to content

Commit 2dcf26b

Browse files
committed
Update to reuse existing window, if it exists
1 parent dad9d1f commit 2dcf26b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/MRTK/Core/Inspectors/Setup/MRTKVersionPopup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ private static void Init()
2020
{
2121
if (window != null)
2222
{
23-
window.Close();
23+
window.ShowUtility();
24+
return;
2425
}
2526

2627
window = CreateInstance<MRTKVersionPopup>();

0 commit comments

Comments
 (0)