예제 #1
0
        private KeyBindingViewModel MakeEmptyBinding()
        {
            var displayIndex = KeyBindings.Count == 0 ? 0 : KeyBindings.Max(x => x.DisplayIndex) + 1;

            return(new KeyBindingViewModel(new LuaKeyBinding(displayIndex, ""), NewBinding, null));
        }