mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Fix bug showing invalid warning in Edit > Pref when "keep edited sprite data lifespan" wasn't modified
This commit is contained in:
parent
bcf6899793
commit
91665c62c3
@ -488,7 +488,7 @@ public:
|
||||
|
||||
int newLifespan = base::convert_to<int>(keepEditedSpriteDataLifespan()->getValue());
|
||||
if (keepEditedSpriteData()->isSelected() != m_pref.general.keepEditedSpriteData() ||
|
||||
newLifespan != m_pref.general.dataRecoveryPeriod()) {
|
||||
newLifespan != m_pref.general.keepEditedSpriteDataLifespan()) {
|
||||
m_pref.general.keepEditedSpriteData(keepEditedSpriteData()->isSelected());
|
||||
m_pref.general.keepEditedSpriteDataLifespan(newLifespan);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user