mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Insert index fix
This commit is contained in:
parent
9f57be150e
commit
df94a61f48
1 changed files with 2 additions and 2 deletions
|
@ -335,7 +335,7 @@ namespace BeefPerf
|
||||||
|
|
||||||
void SetupTab(TabbedView tabbedView, String label, Widget widget)
|
void SetupTab(TabbedView tabbedView, String label, Widget widget)
|
||||||
{
|
{
|
||||||
var tabButton = tabbedView.AddTab(label, 0, widget, false);
|
var tabButton = tabbedView.AddTab(label, 0, widget, false, 0);
|
||||||
tabButton.mCloseClickedEvent.Add(new () =>
|
tabButton.mCloseClickedEvent.Add(new () =>
|
||||||
{
|
{
|
||||||
var tabbedView = tabButton.mTabbedView;
|
var tabbedView = tabButton.mTabbedView;
|
||||||
|
@ -920,7 +920,7 @@ namespace BeefPerf
|
||||||
TabbedView tabbedView = FindTabbedView(mDockingFrame, -1, 1);
|
TabbedView tabbedView = FindTabbedView(mDockingFrame, -1, 1);
|
||||||
if (tabbedView != null)
|
if (tabbedView != null)
|
||||||
{
|
{
|
||||||
tabButton = tabbedView.AddTab(name, width, tabContent, ownsContent);
|
tabButton = tabbedView.AddTab(name, width, tabContent, ownsContent, 0);
|
||||||
result = ShowTabResult.OpenedNew;
|
result = ShowTabResult.OpenedNew;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue