Fix Profile save behavior

Authored by rizzitello on Feb 11 2019, 2:58 AM.

Description

Fix Profile save behavior

Summary:
Profiles were not being saved correctly before when askToSave was run it would save to the new index not the
old

Test Plan:
make several profiles with some data, change data in one , select new profile , save when asked and check the
correct profile was written to

Reviewers: patrickelectric, tcanabrava, laysrodrigues

Reviewed By: patrickelectric, laysrodrigues

Tags: Atelier

Differential Revision: https://phabricator.kde.org/D18917

Details

Committed
rizzitelloFeb 11 2019, 5:38 PM
Reviewer
patrickelectric
Differential Revision
D18917: Fix Profile save behavior
Parents
R231:c2f11a5b444e: Fix save behavior
R231:26f767530d40: Adjust for Temperature Object
Branches
Unknown
Tags
Unknown

Merged Changes

CommitAuthorDetailsCommitted
c2f11a5b444eD18917rizzitello
Fix save behavior 
Feb 11