Skip to content

Commit

Permalink
Browser: Show destination URLs as tooltips in the bookmarks bar
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Dec 28, 2020
1 parent 27262b6 commit 327f595
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Applications/Browser/BookmarksBarWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ void BookmarksBarWidget::model_did_update(unsigned)
button.set_preferred_size(font().width(title) + 32, 20);
button.set_relative_rect(rect);
button.set_focus_policy(GUI::FocusPolicy::TabFocus);
button.set_tooltip(url);

button.on_click = [title, url, this](auto modifiers) {
if (on_bookmark_click)
Expand Down

0 comments on commit 327f595

Please sign in to comment.