diff --git a/src/app/commands/cmd_options.cpp b/src/app/commands/cmd_options.cpp index ebddc77bb..1aec9500c 100644 --- a/src/app/commands/cmd_options.cpp +++ b/src/app/commands/cmd_options.cpp @@ -488,7 +488,7 @@ public: int newLifespan = base::convert_to(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);