Delete left over themes
This commit is contained in:
parent
6e8b7367d7
commit
6510e8961e
@ -190,6 +190,10 @@ namespace thememan
|
|||||||
{
|
{
|
||||||
File.Copy(Path.Combine(themedir, themelist.SelectedItem.ToString(), "pevents.conf"), Path.Combine(hexchatdir, "pevents.conf"), true);
|
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"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user