Skip to content

Commit

Permalink
fix unabled to delete entry after sorting datagrid [#44]
Browse files Browse the repository at this point in the history
  • Loading branch information
t0815 committed Sep 17, 2024
1 parent fcd2968 commit 3e76481
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 46 deletions.
2 changes: 1 addition & 1 deletion MyCBZ/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<applicationSettings>
<Win_CBZ.Win_CBZSettings>
<setting name="InstalledVersion" serializeAs="String">
<value>0.21.165b</value>
<value>0.21.166b</value>
</setting>
<setting name="RenamerPlaceholders" serializeAs="Xml">
<value>
Expand Down
4 changes: 2 additions & 2 deletions MyCBZ/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3171,7 +3171,7 @@ private void RemoveMetadataRowBtn_Click(object sender, EventArgs e)
foreach (DataGridViewRow row in MetaDataGrid.SelectedRows)
{
MetaDataEntry selectedEntry = row.Cells[0].Tag as MetaDataEntry;
int index = Program.ProjectModel.MetaData.Remove(selectedEntry);
int index = Program.ProjectModel.MetaData.Remove(selectedEntry.Uid);

//AppEventHandler.OnMetaDataEntryChanged(sender, new MetaDataEntryChangedEvent(MetaDataEntryChangedEvent.ENTRY_DELETED, index, selectedEntry));

Expand Down Expand Up @@ -4043,7 +4043,7 @@ private void MetaDataGrid_Sorted(object sender, EventArgs e)
var key = row.Cells[0].Value;
var val = row.Cells[1].Value;

Program.ProjectModel.MetaData.Add(new MetaDataEntry(key.ToString(), val?.ToString()));
Program.ProjectModel.MetaData.Add(row.Cells[0].Tag as MetaDataEntry);
}

Color selectionColor = Color.Gold;
Expand Down
44 changes: 22 additions & 22 deletions MyCBZ/Forms/MainForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAEZTeXN0ZW0uV2luZG93cy5Gb3JtcywgQ3VsdHVyZT1uZXV0cmFs
LCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMD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AAlgYAAAJNU0Z0AUkBTAIBAQIB
AAFAAQUBQAEFARABAAEQAQAE/wEhAQAI/wFCAU0BNgcAATYDAAEoAwABQAMAARADAAEBAQABIAYAARD/
AAF4AQUBeAEFARABAAEQAQAE/wEhAQAI/wFCAU0BNgcAATYDAAEoAwABQAMAARADAAEBAQABIAYAARD/
ACcAAxgBIQNQAZwDWgHyA1ABnAMYASHkAAMYASADTwGZA1oB8gNRAaIDJQH/A1EBogNaAfIDTwGZAxgB
IBQAA1kBwANZAcADWQHAA1kBwANZAcADWQHAA1kBwANZAcADWQHAA1kBwANZAcADWQHAA1kBwAMlAf8D
KgFAhAADFQEcA04BlgNaAfIDUQGeAxoBIwMIAQoDJQH/AwgBCgMaASMDUQGeA1oB8gNOAZYDFQEcDAAD
Expand Down Expand Up @@ -704,20 +704,20 @@ The page with type 'FrontCover' should be at index 1.</value>
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAEZTeXN0ZW0uV2luZG93cy5Gb3JtcywgQ3VsdHVyZT1uZXV0cmFs
LCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BQEAAAAmU3lzdGVtLldpbmRvd3MuRm9ybXMu
SW1hZ2VMaXN0U3RyZWFtZXIBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAACAMAAAJNU0Z0AUkBTAIBAQIC
AAElAQABJQEQAQABEAEABP8BGQEACP8BQgFNATYHAAE2AwABKAMAAUADAAEQAwABAQEAARgGAAEMIQAD
9wPZA8QDvwPSA+0D/qUAA/4DuQMsDyUDfwP9EgAD5wFSAVQBVQP6DwADuAG2ArhvAAP7A4YGJQNJA6sD
rQN/BiUDRAPjDAAD5gNQAyUDfQP6BgAD/QO0AysDJQO6aQAD/gNjCSUDmwYAA98JJQNEA/0GAAPnDCUD
RgP6AwADtAwlAbYCuGYAA9QMJQObBgAD3wwlA38D/gMAA+gDNQwlA30DtAMrCSUDKwO4ZgADhgwlA5sG
AAPfDyUD7QYAA/MDNRslA7RpA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M1DCUDfQO0AysJJQMrA7hmAAOGDCUD
mwYAA98PJQPtBgAD8wM1GyUDtGkAA0kDJQPRBt8D7gYAA/kJ3wN/AyUD0gkAA+ADNRIlAysDtAP9aQAD
KQMlA/sbAAOtAyUDvwwAA/MDNQ8lA7RvAAMyAyUD+xsAA6sDJQPECQAD/QO0AysPJQN9A/psAANbAyUD
hAabA88GAAPuCZsDSQMlA9kJAAO0GCUDRgP6aQADogwlA5sGAAPfDCUDLAP3AwAD/QO0AysJJQMrAzUM
JQN9A/pmAAPoDCUDmwYAA98MJQO5BgABygLLDyUDtAPzAzUMJQFSAVQBVWYAA/8DwAMtBiUDhAb7A9EJ
JQOGA/4GAAP2A3YGJQMrA7QD/QMAA+ADNQYlA1AD52wAA8AYJQNjA/sPAAN2AyUDtAwAA/MDNQMlA+Zv
AAP/A+gDogNbAzIDKQNJA4YD1AP+EgAD9gHKAssD/Q8AA+gD5/8AKgABQgFNAT4HAAE+AwABKAMAAUAD
AAEQAwABAQEAAQEFAAGAFwAD/wEAAfgBDwL/BAAB4AEHAeMB5wQAAcABAwHBAYMEAAKBAYABgQQAAYEC
gAEBBAABgQGAAcABAwQAAYEBgAHgAQMEAAGPAfgB8AEPBAABjwH4AeABBwQAAYEBgAHgAQMEAAGBAoAB
AQQAAoEBgAEBBAABgAEBAYABgQQAAeABAwHjAcMEAAHgAQcB4wHnBAAE/wQACw==
</value>
</data>
<metadata name="DataGridContextMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand All @@ -731,7 +731,7 @@ The page with type 'FrontCover' should be at index 1.</value>
AAEAAAD/////AQAAAAAAAAAMAgAAAEZTeXN0ZW0uV2luZG93cy5Gb3JtcywgQ3VsdHVyZT1uZXV0cmFs
LCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BQEAAAAmU3lzdGVtLldpbmRvd3MuRm9ybXMu
SW1hZ2VMaXN0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NNAfoDXwHVAx0BKAQAA0YB
fgNQAZwQAANWAbYDKgE/EAABXQJfAckBAAHSAfoB/wMvAUkMAAMYASADJQH/AyUBNwgAA0ABcANRAaQM
Expand All @@ -751,15 +751,15 @@ The page with type 'FrontCover' should be at index 1.</value>
AAMVARwDYQHrAw8BEwwAA10BzAQBEAABXQJfAckBAAHSAfoB/wMvAUkQAANdAcwDPAFmCAADAgEDA1kB
vgMnATkIAANGAX8BXgJqAe0DBgEIBAADFgEdA2EB6wMxAU4MAAFdAmEB1AFEAWMB2AH/AUQBYwHYAf8B
WQFjAWcB7wMjATMEAAMOARIDBgEHBAADMgFPAk0BfQH6AUQBYwHYAf8BRAFjAdgB/wFdAmEB1AgAAwgB
CgNdAc8DSgGLAwQBBQgAAVECbwH3AWMCgAH+DAADRwGCA10BzwMIAQoIAANdAckQAAMCAQMBWwJfAdgB
CgNdAc8DSgGLAwQBBQgAAVECbwH3AWoCgAH+DAADRwGCA10BzwMIAQoIAANdAckQAAMCAQMBWwJfAdgB
AAHSAfoB/wMvAUkQAANOAZYDRgF+DAADOAFcA14B7QMHAQkEAANVAa8BAAHSAfoB/wMhATAEAANGAYAD
WQHAEAABRQFoAWoB+QFEAWMB2AH/AUQBYwHYAf8BRAFjAdgB/wFeAWMBagHtAx0BKQgAAywBQwJNAX0B
+gFEAWMB2AH/AUQBYwHYAf8BRAFjAdgB/wFFAWgBagH5CAADRwGCA1IBoxAAAxwBJwEZAhoBIxAAA1MB
pgNHAYIIAANbAcoQAAMuAUgBXQJfAckBXAJfAcgDIgExEAADUQGkA0QBeAwAAwkBCwNaAccDPwFtBAAD
WgG/AQAB0gH6Af8DKgFAAxABFQNdAckDEwEZEAABRQFoAWoB+QFEAWMB2AH/AUQBYwHYAf8BRAFjAdgB
/wFbAl8B0wMJAQsIAAMTARkBWwJjAeQBRAFjAdgB/wFEAWMB2AH/AUQBYwHYAf8BRQFoAWoB+QgAA10B
3wMeASoQAANQAZoBUQJSAaQQAAMeASoDXQHfCAADXQHOBAEoAAQBA1wB5wM4AVsQAAMPARMDXgHSBAAD
VgGwAWMCgAH+AyIBMQNWAbYDSAGEFAABXQJhAdQBRAFjAdgB/wFEAWMB2AH/AVkCXAHGAwoBDQQAAykB
VgGwAWoCgAH+AyIBMQNWAbYDSAGEFAABXQJhAdQBRAFjAdgB/wFEAWMB2AH/AVkCXAHGAwoBDQQAAykB
PgMdASgEAAMVARwBXgFjAWUB3QFEAWMB2AH/AUQBYwHYAf8BXQJhAdQIAANAAf0DAgEDEAABWgJcAcQB
XQJhAc8DCgENDAADAgEDA0AB/QgAA1ABnQNEAXsMAAMNAREBWQJcAcMBWwJjAeQDNwFaDAADKQE+A00B
+gMYASAUAANNAZIDTAGQBAEEAAMvAUkDYgHuAxcBHxQAA0kBiAFEAWMB2AH/AUQBYwHYAf8DGwEmBAAD
Expand Down
27 changes: 17 additions & 10 deletions MyCBZ/Models/MetaData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public MetaData(bool createDefault = false, String name = "ComicInfo.xml")
foreach (var entry in Defaults)
{
DefaultSortOrderKeys.Add(entry.Key);
Values.Add(HandleNewEntry(entry.Key, entry.Value));
Values.Add(HandleNewEntry(entry.Key, entry.Value, entry.ReadOnly, entry.Uid));
}
}
}
Expand Down Expand Up @@ -213,7 +213,7 @@ public MetaData(Stream fileInputStream, String name)
ReorderProps();
}

protected MetaDataEntry HandleNewEntry(String key, String value = null, bool readOnly = false)
protected MetaDataEntry HandleNewEntry(String key, String value = null, bool readOnly = false, string uid = null)
{
if (ProtectedKeys.IndexOf(key.ToLower()) != -1)
{
Expand All @@ -231,14 +231,14 @@ protected MetaDataEntry HandleNewEntry(String key, String value = null, bool rea

value = value != null && index > -1 ? value : (mapping.OptionsAsList()[0] ?? "???");

return new MetaDataEntry(key, value, mapping, readOnly);
return new MetaDataEntry(key, value, mapping, readOnly, uid);
} else
{
return new MetaDataEntry(key, value, mapping, readOnly);
return new MetaDataEntry(key, value, mapping, readOnly, uid);
}
}

return new MetaDataEntry(key, value, new MetaDataFieldType(), readOnly);
return new MetaDataEntry(key, value, new MetaDataFieldType(), readOnly, uid);
}

public void Save(String path)
Expand Down Expand Up @@ -607,9 +607,16 @@ public MetaDataEntry EntryByKey(String key)
return null;
}

public MetaDataEntry EntryById(String id)
{
MetaDataEntry result = Values.Where((e) => e.Uid == id).FirstOrDefault();

return result;
}

public int Add(MetaDataEntry entry)
{
Values.Add(HandleNewEntry(entry.Key, entry.Value));
Values.Add(HandleNewEntry(entry.Key, entry.Value, entry.ReadOnly, entry.Uid));
if (!DefaultSortOrderKeys.Contains(entry.Key))
{
DefaultSortOrderKeys.Add(entry.Key);
Expand Down Expand Up @@ -643,9 +650,9 @@ public int Add(String key, String value = null)
return Values.Count - 1;
}

public int Remove(String key)
public int Remove(String uid)
{
MetaDataEntry entry = EntryByKey(key);
MetaDataEntry entry = EntryById(uid);

if (entry != null)
{
Expand All @@ -655,9 +662,9 @@ public int Remove(String key)

if (success)
{
if (RemovedKeys.IndexOf(key) == -1)
if (RemovedKeys.IndexOf(entry.Key) == -1)
{
RemovedKeys.Add(key);
RemovedKeys.Add(entry.Key);
}

OnMetaDataEntryChanged(new MetaDataEntryChangedEvent(MetaDataEntryChangedEvent.ENTRY_DELETED, index, entry));
Expand Down
7 changes: 4 additions & 3 deletions MyCBZ/Models/MetaDataEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ namespace Win_CBZ
internal class MetaDataEntry
{

protected string uid = Guid.NewGuid().ToString();
public string Uid { get; set; } = Guid.NewGuid().ToString();

public String Key { get; set; }

public String Value { get; set; }

protected bool ReadOnly { get; set; }
public bool ReadOnly { get; set; }

public bool Visible { get; set; } = true;

Expand All @@ -38,13 +38,14 @@ public MetaDataEntry(String key, String value)
Type = new MetaDataFieldType(key);
}

public MetaDataEntry(String key, String value, MetaDataFieldType fieldType, bool readOnly = false)
public MetaDataEntry(String key, String value, MetaDataFieldType fieldType, bool readOnly = false, string uid = null)
{
Key = key;
Value = value;
ReadOnly = readOnly;
Type = fieldType;
ReadOnly = readOnly;
Uid = uid != null ? uid : Guid.NewGuid().ToString();
}

public String[] ValueAsList(char separator = ',')
Expand Down
4 changes: 2 additions & 2 deletions MyCBZ/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.21.165")]
[assembly: AssemblyFileVersion("0.21.165")]
[assembly: AssemblyVersion("0.21.166")]
[assembly: AssemblyFileVersion("0.21.166")]
[assembly: NeutralResourcesLanguage("en")]
2 changes: 1 addition & 1 deletion MyCBZ/Win_CBZSettings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion MyCBZ/Win_CBZSettings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Value Profile="(Default)">%APPDATA%\WIN_CBZ\Temp\</Value>
</Setting>
<Setting Name="InstalledVersion" Type="System.String" Scope="Application">
<Value Profile="(Default)">0.21.165b</Value>
<Value Profile="(Default)">0.21.166b</Value>
</Setting>
<Setting Name="RenamerPlaceholders" Type="System.Collections.Specialized.StringCollection" Scope="Application">
<Value Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Microsoft Visual Studio [Community] 2022 (64-Bit)

## Latest Release

v0.21.165b released!
v0.21.166b released!


>[!IMPORTANT]
Expand Down
6 changes: 3 additions & 3 deletions Win_CBZ-Setup/Win_CBZ-Setup.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Win_CBZ"
"ProductCode" = "8:{CCBDD095-1E9D-409D-813F-1067216F4220}"
"PackageCode" = "8:{F014926F-9B21-4E04-950C-F3841B599A17}"
"ProductCode" = "8:{5A10ECE5-DB84-497D-8F68-9B80A7B2ABF0}"
"PackageCode" = "8:{ED0D94C2-7718-447C-9C12-7C8001A5ED2D}"
"UpgradeCode" = "8:{66FAEF81-1CAE-4971-9E0F-796310EFEA5E}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:0.21.165"
"ProductVersion" = "8:0.21.166"
"Manufacturer" = "8:Trash_s0Ft"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
Expand Down

0 comments on commit 3e76481

Please sign in to comment.