@@ -925,7 +925,13 @@ public: | |||||
// ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
// Set data (internal stuff) | // Set data (internal stuff) | ||||
// nothing | |||||
void setName(const char* const newName) override | |||||
{ | |||||
CarlaPlugin::setName(newName); | |||||
if (kData->gui != nullptr) | |||||
kData->gui->setWindowTitle(QString("%1 (GUI)").arg((const char*)fName)); | |||||
} | |||||
// ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
// Set data (plugin-specific stuff) | // Set data (plugin-specific stuff) | ||||
@@ -501,6 +501,8 @@ public: | |||||
fHost.ui_name = carla_strdup(uiName); | fHost.ui_name = carla_strdup(uiName); | ||||
// TODO - send callback to plugin, reporting name change | |||||
CarlaPlugin::setName(newName); | CarlaPlugin::setName(newName); | ||||
} | } | ||||
@@ -290,7 +290,13 @@ public: | |||||
// ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
// Set data (internal stuff) | // Set data (internal stuff) | ||||
// nothing | |||||
void setName(const char* const newName) override | |||||
{ | |||||
CarlaPlugin::setName(newName); | |||||
if (kData->gui != nullptr) | |||||
kData->gui->setWindowTitle(QString("%1 (GUI)").arg((const char*)fName)); | |||||
} | |||||
// ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
// Set data (plugin-specific stuff) | // Set data (plugin-specific stuff) | ||||