void WorkspaceTab::OnActiveProjectChanged(clProjectSettingsEvent& e) { e.Skip(); // Update the choice control m_choiceActiveProject->SetStringSelection(e.GetProjectName()); }
void QMakePlugin::OnSaveConfig(clProjectSettingsEvent& event) { event.Skip(); wxString conf, project; project = event.GetProjectName(); conf = event.GetConfigName(); QMakeTab* tab = DoGetQmakeTab(conf); if(!tab) { return; } tab->Save(m_mgr, project, conf); }
void CMakePlugin::OnSaveConfig(clProjectSettingsEvent& event) { event.Skip(); CL_DEBUG("Saving CMake config..."); // Panel doesn't exists if(!m_panel) return; // Get project name const wxString& project = event.GetProjectName(); // Store settings into pointer m_panel->StoreSettings(); wxASSERT(m_settingsManager); // Save settings m_settingsManager->SaveProject(project); }