mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-04 23:10:44 +08:00
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:
parent
ccbe95aaff
commit
3d4d840a90
@ -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*/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user