reverting unneeded changes
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
#include <AtomToolsFramework/Window/AtomToolsMainWindowFactoryRequestBus.h>
|
||||
#include <AtomToolsFramework/Window/AtomToolsMainWindowRequestBus.h>
|
||||
|
||||
#include <AzCore/Component/TickBus.h>
|
||||
#include <AzCore/IO/Path/Path.h>
|
||||
#include <AzCore/Settings/SettingsRegistryMergeUtils.h>
|
||||
#include <AzCore/Utils/Utils.h>
|
||||
@@ -183,8 +182,8 @@ namespace AtomToolsFramework
|
||||
|
||||
LoadSettings();
|
||||
|
||||
AtomToolsMainWindowFactoryRequestBus::Broadcast(&AtomToolsMainWindowFactoryRequestBus::Handler::CreateMainWindow);
|
||||
AtomToolsMainWindowNotificationBus::Handler::BusConnect();
|
||||
AtomToolsMainWindowFactoryRequestBus::Broadcast(&AtomToolsMainWindowFactoryRequestBus::Handler::CreateMainWindow);
|
||||
|
||||
auto editorPythonEventsInterface = AZ::Interface<AzToolsFramework::EditorPythonEventsInterface>::Get();
|
||||
if (editorPythonEventsInterface)
|
||||
@@ -195,9 +194,9 @@ namespace AtomToolsFramework
|
||||
editorPythonEventsInterface->StartPython();
|
||||
}
|
||||
|
||||
QTimer::singleShot(0, this, [this]() {
|
||||
ProcessCommandLine(m_commandLine);
|
||||
});
|
||||
// Delay execution of commands and scripts post initialization
|
||||
QTimer::singleShot(0, [this]() { ProcessCommandLine(m_commandLine); });
|
||||
|
||||
m_timer.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user