aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow')
-rw-r--r--src/mainwindow/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp
index e1b8fd8..8a33e23 100644
--- a/src/mainwindow/mainwindow.cpp
+++ b/src/mainwindow/mainwindow.cpp
@@ -390,6 +390,7 @@ void MainWindow::updatePageLoadProfileMenu()
if(currentView == nullptr)
return;
+ auto *profileManager = dynamic_cast<Browser *>(qApp)->getProfileManager();
pageLoadProfileMenu->addActions(profileManager->createProfileMenu([this](WebProfile *profile) {
this->currentView->setProfile(profile);
},