From 0657992e9c4064a89f661950c45425d800a8ad9d Mon Sep 17 00:00:00 2001 From: vladest Date: Sun, 1 Jul 2018 19:56:51 +0200 Subject: [PATCH] Tablet Asset Server dialog was instantiated twice --- interface/src/Application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index a60d72073c..e0c82b4fc4 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -6979,7 +6979,9 @@ void Application::showAssetServerWidget(QString filePath) { DependencyManager::get()->show(url, "AssetServer", startUpload); } else { static const QUrl url("hifi/dialogs/TabletAssetServer.qml"); - tablet->pushOntoStack(url); + if (!tablet->isPathLoaded(url)) { + tablet->pushOntoStack(url); + } } }