Commit 4a3d0ce4 authored by Nate Graham's avatar Nate Graham
Browse files

Open bookmarks toolbar button on click; don't require press-and-hold

BUG: 446339
FIXED-IN: 21.12
parent 1ab85d80
Pipeline #104015 passed with stage
in 2 minutes and 7 seconds
......@@ -330,6 +330,7 @@ void MainWindow::setupActions()
// Bookmark Menu
KActionMenu *bookmarkMenu = new KActionMenu(i18nc("@title:menu", "&Bookmarks"), collection);
bookmarkMenu->setPopupMode(QToolButton::InstantPopup); // Don't require press+hold
_bookmarkHandler = new BookmarkHandler(collection, bookmarkMenu->menu(), true, this);
collection->addAction(QStringLiteral("bookmark"), bookmarkMenu);
connect(_bookmarkHandler, &Konsole::BookmarkHandler::openUrls, this, &Konsole::MainWindow::openUrls);
Supports Markdown
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