Entries copied to pasteboard now get placeholder and references evaluated

This commit is contained in:
michael starke
2014-05-27 11:59:20 +02:00
parent f7bb104b6a
commit 9240de444a
3 changed files with 13 additions and 13 deletions

View File

@@ -53,8 +53,7 @@
- (NSString *)evaluatedCommand {
if(!_evaluatedCommand) {
NSString *placeholderFilled = [self.normalizedCommand evaluatePlaceholderWithEntry:self.entry];
_evaluatedCommand = [[placeholderFilled resolveReferencesWithTree:self.entry.tree] copy];
_evaluatedCommand = [[self.normalizedCommand finalValueForEntry:self.entry] copy];
}
return _evaluatedCommand;
}