aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-02-07 21:54:05 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-02-07 21:54:05 +0100
commitba757f8a1e528fdf9744094f97d1a652072771f8 (patch)
tree191faaf2f0f907af8df15cd139a45a3f27b7be0d /src/mainwindow/mainwindow.cpp
parentRewrote bookmark manager to use QTreeWidget over QTreeView (diff)
downloadsmolbote-ba757f8a1e528fdf9744094f97d1a652072771f8.tar.xz
Fixed address bar auto-complete
Diffstat (limited to 'src/mainwindow/mainwindow.cpp')
-rw-r--r--src/mainwindow/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp
index 00c716f..5ee0a78 100644
--- a/src/mainwindow/mainwindow.cpp
+++ b/src/mainwindow/mainwindow.cpp
@@ -217,7 +217,7 @@ void MainWindow::setBookmarksWidget(std::shared_ptr<BookmarksWidget> &widget)
{
Q_ASSERT(widget);
m_bookmarksWidget = widget;
- //m_addressBar->setCompleterModel(m_bookmarksWidget->model());
+ m_addressBar->setCompleterModel(m_bookmarksWidget->model());
connect(menuBar->bookmarksAction(), &QAction::triggered, this, [this]() {
addTabbedDock(Qt::RightDockWidgetArea, m_bookmarksWidget.get());
});