Modified when word document tab is closed after user makes change and answers dialog box
This commit is contained in:
parent
297b89304e
commit
f36317757d
@ -327,7 +327,6 @@ namespace Volian.Controls.Library
|
||||
e.RemoveDockTab = true;
|
||||
_RemovedDisplayTabItems.Add((DisplayTabItem)e.DockContainerItem);
|
||||
DisplayTabItem dti = e.DockContainerItem as DisplayTabItem;
|
||||
MySessionInfo.CheckInItem(dti.OwnerID);
|
||||
if (dti != null && dti.MyStepTabPanel != null)
|
||||
dti.MyStepTabPanel.MyStepPanel.Dispose();
|
||||
DisplayTabItem myTabItem = e.DockContainerItem as DisplayTabItem;
|
||||
@ -338,6 +337,7 @@ namespace Volian.Controls.Library
|
||||
myTabItem.MyDSOTabPanel.CloseDSO();
|
||||
}
|
||||
}
|
||||
MySessionInfo.CheckInItem(dti.OwnerID);
|
||||
if (((Bar)sender).Items == null) return;
|
||||
if (((Bar)sender).Items.Count == 1)// Remove bar if last item is closed...
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user