mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fix close of inactive IDE tab without closing pane
When you close an inactive IDE tab, the 'nextTab' is null instead of the already active one. This then results in the entire pane closing even with tabs remaining. Ensuring nextTab is always valid keeps the pane open. This may fix issue #619 as the behavior described is similar.
This commit is contained in:
parent
1519a60104
commit
66e8ab8823
1 changed files with 3 additions and 0 deletions
|
@ -6588,6 +6588,9 @@ namespace IDE
|
|||
nextTab = checkTab;
|
||||
});
|
||||
}
|
||||
else {
|
||||
nextTab = tabbedView.GetActiveTab();
|
||||
}
|
||||
|
||||
tabbedView.RemoveTab(tabButton);
|
||||
if (nextTab != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue