C2019-036 View Only - handle case when Separate Windows and Remember Tabs

This commit is contained in:
2025-11-19 09:01:16 -05:00
parent 9002fb3828
commit 7d87477d68

View File

@@ -630,7 +630,7 @@ namespace Volian.Controls.Library
if (
(dti != null && dti.MyStepTabPanel.MyStepPanel.VwMode == E_ViewMode.View)
||
(SeparateWindows && (VersionID == 0 || VersionID == myItemInfo.MyDocVersion.VersionID))
(SeparateWindows && VersionID == myItemInfo.MyDocVersion.VersionID)
|| //to handle special case where item will be opened in a separate window
MessageBox.Show(this, message, "Procedure Already Checked Out", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
viewonlymode = true;