Browse Source

Don't ask for plugin removal on carla-plugin close

tags/1.9.4
falkTX 10 years ago
parent
commit
32493b2ff1
2 changed files with 7 additions and 2 deletions
  1. +6
    -1
      source/carla
  2. +1
    -1
      source/carla_host.py

+ 6
- 1
source/carla View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# Carla plugin host
# Copyright (C) 2011-2013 Filipe Coelho <falktx@falktx.com>
# Copyright (C) 2011-2014 Filipe Coelho <falktx@falktx.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -43,6 +43,11 @@ class CarlaMultiW(QTabWidget):
self.addTab(self.fRack, "Plugins")
self.addTab(self.fPatchbay, "Patchbay")

#self.fPatchbay.hide()
#self.removeTab(1)
#self.fPatchbay.setParent(None)
#self.fPatchbay.show()

self.scene = self.fPatchbay.scene

parent.ui.act_plugins_enable.triggered.connect(self.fRack.slot_pluginsEnable)


+ 1
- 1
source/carla_host.py View File

@@ -1145,7 +1145,7 @@ class HostWindow(QMainWindow):
self.killTimers()
self.saveSettings()

if gCarla.host.is_engine_running():
if gCarla.host.is_engine_running() and not gCarla.isPlugin:
gCarla.host.set_engine_about_to_close()

count = self.fContainer.getPluginCount()


Loading…
Cancel
Save