@Override
  public void removeScheme(@NotNull EditorColorsScheme scheme) {
    String schemeName = scheme.getName();
    EditorColorsScheme selectedScheme = getSelectedScheme();
    if (selectedScheme != null && selectedScheme.getName().equals(schemeName)) {
      selectDefaultScheme();
    }

    boolean deletedNewlyCreated = false;

    MyColorScheme toDelete = getMyScheme(schemeName);

    if (toDelete != null) {
      deletedNewlyCreated = toDelete.isNew();
    }

    myModel.removeScheme(schemeName, this);
    resetSchemesCombo(null);
    mySomeSchemesDeleted = mySomeSchemesDeleted || !deletedNewlyCreated;
  }
@Override
  public void removeScheme(@NotNull EditorColorsScheme scheme)