cocoa: fix image loading in picture mode details panel

I had broken it during the big merge.
This commit is contained in:
Virgil Dupras 2016-06-06 11:03:09 -04:00
parent ca3172044f
commit 168d94910b
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ http://www.gnu.org/licenses/gpl-3.0.html
{
NSInteger appMode = [self getAppMode];
if (appMode == AppModePicture) {
return [[DetailsPanelPicture alloc] initWithPyRef:[model detailsPanel]];
return [[DetailsPanelPicture alloc] initWithApp:model];
}
else {
return [[DetailsPanel alloc] initWithPyRef:[model detailsPanel]];