void MixerCurve::PopupCurve() { m_mixerUI->SettingsGroup->show(); m_mixerUI->PopupCurve->hide(); PopupWidget *popup = new PopupWidget(); popup->popUp(this); m_mixerUI->SettingsGroup->hide(); m_mixerUI->PopupCurve->show(); }
void MixerCurve::PopupCurve() { if (!m_curve->isCommandActive("Popup")) { m_mixerUI->SettingsGroup->show(); m_mixerUI->PopupCurve->hide(); PopupWidget* popup = new PopupWidget(); popup->popUp(this); m_mixerUI->SettingsGroup->hide(); m_mixerUI->PopupCurve->show(); m_curve->showCommands(false); } }