Skip to content

Commit

Permalink
Correct tab name for loadLayerFromLocalFile
Browse files Browse the repository at this point in the history
  • Loading branch information
cvantine committed Aug 7, 2018
1 parent c1ef2f4 commit a634b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav-app/src/app/tabs/tabs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export class TabsComponent implements AfterContentInit {
let content = res.text();
try {
viewModel.deSerialize(content)
this.openTab("new layer", this.layerTab, viewModel, true, true, true);
this.openTab(viewModel.name, this.layerTab, viewModel, true, true, true);
} catch(err) {
console.log(err)
alert("ERROR: Failed to load layer file from local path")
Expand Down

0 comments on commit a634b03

Please sign in to comment.