Bugfixing: plugin toolbar, missing progress

This commit is contained in:
Jakub Melka
2021-05-31 18:59:12 +02:00
parent 35eeccb42d
commit 453a3a24c7
2 changed files with 3 additions and 1 deletions

View File

@ -1789,6 +1789,7 @@ void PDFProgramController::loadPlugins()
if (!actions.empty())
{
QToolBar* toolBar = m_mainWindow->addToolBar(plugin.first.name);
toolBar->setObjectName(QString("Plugin_Toolbar_%1").arg(plugin.first.name));
m_mainWindowInterface->adjustToolbar(toolBar);
QMenu* menu = m_mainWindowInterface->addToolMenu(plugin.first.name);
for (QAction* action : actions)