Browse Source

Fix NSM issues (due to previous incomplete work, now fixed)

Closes #848

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-alpha2
falkTX 6 years ago
parent
commit
b46e1ce80c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/frontend/carla_host.py

+ 2
- 2
source/frontend/carla_host.py View File

@@ -568,7 +568,7 @@ class HostWindow(QMainWindow):


# For NSM we wait for the open message # For NSM we wait for the open message
if NSM_URL and host.nsmOK: if NSM_URL and host.nsmOK:
host.nsm_ready(-1)
host.nsm_ready(NSM_CALLBACK_INIT)
return return


QTimer.singleShot(0, self.slot_engineStart) QTimer.singleShot(0, self.slot_engineStart)
@@ -891,7 +891,7 @@ class HostWindow(QMainWindow):
elif self.fCustomStopAction == self.CUSTOM_ACTION_PROJECT_LOAD: elif self.fCustomStopAction == self.CUSTOM_ACTION_PROJECT_LOAD:
self.slot_engineStart() self.slot_engineStart()
self.loadProjectNow() self.loadProjectNow()
self.host.nsm_ready(2) # open
self.host.nsm_ready(NSM_CALLBACK_OPEN)


self.fCustomStopAction = self.CUSTOM_ACTION_NONE self.fCustomStopAction = self.CUSTOM_ACTION_NONE




Loading…
Cancel
Save