Compare commits
No commits in common. "1cf3a52afa0e73062d2b167741e141fb584d1feb" and "ad476d8de4cbd322ff15cd67cd4d8566f11006cb" have entirely different histories.
1cf3a52afa
...
ad476d8de4
@ -827,11 +827,7 @@ namespace Volian.Controls.Library
|
|||||||
private DisplayTabItem FindRemainingTab(Bar myBar)
|
private DisplayTabItem FindRemainingTab(Bar myBar)
|
||||||
{
|
{
|
||||||
// C2023-004: Proms reverts to first tab rather than active tab/save last selected tab is and use to reset to it
|
// C2023-004: Proms reverts to first tab rather than active tab/save last selected tab is and use to reset to it
|
||||||
// B2023-078 Added the check for LastSelectedDisplayTabItem is in myBar. This fixes a crash issue where user has as split screen
|
if (LastSelectedDisplayTabItem != null && !_RemovedDisplayTabItems.Contains(LastSelectedDisplayTabItem))
|
||||||
// each with procedure tabs and closes a procedure tab in the split screen that does not currently have focus.
|
|
||||||
// that other screen has its own myBar list which does not contain the LastSelectedDisplayTabItem references.
|
|
||||||
// In that case we want to run through the foreach loop to find a tab in the currently active split screen side
|
|
||||||
if (LastSelectedDisplayTabItem != null && myBar.Items.Contains(LastSelectedDisplayTabItem) && !_RemovedDisplayTabItems.Contains(LastSelectedDisplayTabItem))
|
|
||||||
return LastSelectedDisplayTabItem;
|
return LastSelectedDisplayTabItem;
|
||||||
foreach (DisplayTabItem itm in myBar.Items)
|
foreach (DisplayTabItem itm in myBar.Items)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user