mirror of
https://github.com/4sval/FModel.git
synced 2026-09-21 07:54:39 -05:00
Export hotkeys
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user