aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/menubar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow/menubar.cpp')
-rw-r--r--src/mainwindow/menubar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow/menubar.cpp b/src/mainwindow/menubar.cpp
index eecb61a..27a8561 100644
--- a/src/mainwindow/menubar.cpp
+++ b/src/mainwindow/menubar.cpp
@@ -137,7 +137,7 @@ MenuBar::MenuBar(MainWindow *parent)
smolbote->addSeparator();
smolbote->addAction(tr("Load Plugin"), browser, [browser]() {
const QString path = QFileDialog::getOpenFileName(nullptr, tr("Select Plugin"), QDir::homePath(), tr("Plugins (*.so)"));
- browser->addPlugin(path);
+ browser->loadPlugins(QStringList(path));
});
pluginInsertLocation = smolbote->addSeparator();