From 6510e8961eae05313de652b479e35d00cf2bf95f Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 10 Apr 2013 14:39:43 -0300 Subject: Delete left over themes --- src/htm/Main.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/htm') diff --git a/src/htm/Main.cs b/src/htm/Main.cs index 8873d886..884b23f8 100644 --- a/src/htm/Main.cs +++ b/src/htm/Main.cs @@ -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")); + } } } -- cgit 1.4.1