Export hotkeys

This commit is contained in:
Masusder
2026-08-10 18:48:15 +02:00
parent dcada4f8a4
commit ff3c0e1b02
7 changed files with 367 additions and 74 deletions

View File

@@ -517,8 +517,16 @@ public class TabControlViewModel : ViewModel
}
public event EventHandler OnTabRemove;
public void GoLeftTab() => SelectedTab = _tabItems.Previous(SelectedTab);
public void GoRightTab() => SelectedTab = _tabItems.Next(SelectedTab);
public void GoLeftTab()
{
if (_tabItems.Count > 0)
SelectedTab = _tabItems.Previous(SelectedTab);
}
public void GoRightTab()
{
if (_tabItems.Count > 0)
SelectedTab = _tabItems.Next(SelectedTab);
}
public void RemoveOtherTabs(TabItem tab)
{