Fix import from URL adding multiple copies of imported entities

This commit is contained in:
David Rowe 2017-11-07 11:28:35 +13:00
parent 26c77ba72d
commit b272b2e6c8

View file

@ -1533,7 +1533,7 @@ function handeMenuEvent(menuItem) {
Window.openFileChanged.connect(onFileOpenChanged);
Window.browseAsync("Select Model to Import", "", "*.json");
} else {
Window.promptTextChanged.connect(onFileOpenChanged);
Window.promptTextChanged.connect(onPromptTextChanged);
Window.promptAsync("URL of SVO to import", "");
}
} else if (menuItem === "Entity List...") {