private void deleteRotationButton_Click(object sender, RoutedEventArgs e)
        {
            if (_loadingCalculationOptions)
            {
                return;
            }

            calcOpts.RemoveActiveRotation();
            if (calcOpts.Rotations.Count == 0)
            {
                calcOpts.Rotations.Add(new Rotation("New Rotation", "Shadow Bolt", null));
                calcOpts.ActiveRotationIndex = 0;
            }

            RefreshRotationPanel();
            Character.OnCalculationsInvalidated();
        }
        private void deleteRotationButton_Click(object sender, EventArgs e)
        {
            if (_ignoreCount > 0)
            {
                return;
            }

            _options.RemoveActiveRotation();
            if (_options.Rotations.Count == 0)
            {
                _options.Rotations.Add(
                    new Rotation("New Rotation", "Shadow Bolt", null));
                _options.ActiveRotationIndex = 0;
            }

            RefreshRotationPanel();
            Character.OnCalculationsInvalidated();
        }