Commit 35496f4a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Close favorite effect popup on activation

(cherry picked from commit e45fe2f5)
parent 06047a8c
...@@ -436,6 +436,7 @@ void MainWindow::init() ...@@ -436,6 +436,7 @@ void MainWindow::init()
toolButtonAction->setDefaultWidget(basketButton); toolButtonAction->setDefaultWidget(basketButton);
addAction(QStringLiteral("favorite_effects"), toolButtonAction); addAction(QStringLiteral("favorite_effects"), toolButtonAction);
connect(toolButtonAction, &QAction::triggered, basketButton, &QToolButton::showMenu); connect(toolButtonAction, &QAction::triggered, basketButton, &QToolButton::showMenu);
connect(m_effectBasket, &EffectBasket::activateAsset, menu, &QMenu::close);
// Render button // Render button
ProgressButton *timelineRender = new ProgressButton(i18n("Render"), 100, this); ProgressButton *timelineRender = new ProgressButton(i18n("Render"), 100, this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment