Delete left over themes

This commit is contained in:
TingPing 2013-04-10 14:39:43 -03:00
parent 6e8b7367d7
commit 6510e8961e
1 changed files with 4 additions and 0 deletions

View File

@ -190,6 +190,10 @@ namespace thememan
{
File.Copy(Path.Combine(themedir, themelist.SelectedItem.ToString(), "pevents.conf"), Path.Combine(hexchatdir, "pevents.conf"), true);
}
else if (File.Exists(Path.Combine(hexchatdir, "pevents.conf")))
{
File.Delete(Path.Combine(hexchatdir, "pevents.conf"));
}
}
}