B2018-123 Separate Windows, when last proc tab is closed in main window, remove doc version id from AllDTCs dictionary and reset the VersionID variable to zero to tell PROMS the main window is available. This allows the next procedure opened from a different set to display in the main window.

This commit is contained in:
John Jenko 2018-09-10 17:44:22 +00:00
parent d2e2461f96
commit 5783621f78

View File

@ -499,6 +499,11 @@ namespace Volian.Controls.Library
dotNetBarManager1.Bars.Remove(bar);
ActivateRemainingTab();
}
// B2018-123 the last tab in the main window was closed.
// remove the procedure version id from the _AllDTCs dictionary
// reset VersionID to zero so that we know the main window is available
_AllDTCs.Remove(VersionID);
VersionID = 0;
}
else
{