Fix for #10716 - Saving a modified preset with another name that matches an existing preset does not save the changes

This commit is contained in:
YuSanka 2024-03-06 16:24:28 +01:00 committed by Lukas Matena
parent ccbe95aaff
commit 3d4d840a90

View File

@ -273,8 +273,6 @@ void SavePresetDialog::Item::update_valid_bmp()
void SavePresetDialog::Item::accept() void SavePresetDialog::Item::accept()
{ {
if (m_valid_type == ValidationType::Warning)
m_presets->delete_preset(m_preset_name);
} }
void SavePresetDialog::Item::Enable(bool enable /*= true*/) void SavePresetDialog::Item::Enable(bool enable /*= true*/)