Refactor OakHTMLOutputView

This commit is contained in:
Allan Odgaard
2014-03-07 12:34:53 +07:00
parent 166bfad140
commit 09e5d88437
9 changed files with 52 additions and 63 deletions

View File

@@ -79,10 +79,7 @@ static std::multimap<oak::uuid_t, HTMLOutputWindowController*> Windows;
Windows.emplace(runner->uuid(), self);
self.window.title = [NSString stringWithCxxString:runner->name()];
[self.htmlOutputView setEnvironment:runner->environment()];
[self.htmlOutputView loadRequest:URLRequestForCommandRunner(runner) autoScrolls:runner->auto_scroll_output()];
[self.htmlOutputView loadRequest:URLRequestForCommandRunner(runner) environment:runner->environment() autoScrolls:runner->auto_scroll_output()];
[self.window makeKeyAndOrderFront:nil];
return YES;