Skip to content

Commit

Permalink
libcommon|SaveSlots: Must update the SavedSessionRepository Folder fo…
Browse files Browse the repository at this point in the history
…llowing a copy

Otherwise the copied file won't be known to the primary Feed.
  • Loading branch information
danij-deng committed Mar 12, 2014
1 parent bf5a8cc commit 9e1bdb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/plugins/common/src/saveslots.cpp
Expand Up @@ -267,6 +267,7 @@ void SaveSlots::copySlot(String sourceSlotId, String destSlotId)
Folder &destFolder = destSlot.savedSession().repository().folder();
de::Writer(destFolder.replaceFile(destSlot.savedSession().fileName()))
<< sourceSlot.savedSession().locateFile().archive();
destFolder.populate(Folder::PopulateOnlyThisFolder);
}

// Copy the session too.
Expand Down

0 comments on commit 9e1bdb6

Please sign in to comment.