made the tab display a file name without path and extension. Made the tab have a * if the file is edited. Fixed some bugs with selection. Implemented drag-drop file support for opening files.

This commit is contained in:
Benjamin Popp
2018-10-28 12:54:11 -05:00
parent 1f1fcfb171
commit 99935f5ba5
9 changed files with 154 additions and 69 deletions

View File

@@ -23,7 +23,6 @@ namespace HavenSoft.Gen3Hex.View {
}
public bool Save(LoadedFile file) {
if (!File.Exists(file.Name)) return false;
File.WriteAllBytes(file.Name, file.Contents);
return true;
}