summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/views/bookmark_bubble_view.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/views/bookmark_bubble_view.cc b/chrome/browser/views/bookmark_bubble_view.cc
index 12dd987..186defe 100644
--- a/chrome/browser/views/bookmark_bubble_view.cc
+++ b/chrome/browser/views/bookmark_bubble_view.cc
@@ -331,6 +331,9 @@ void BookmarkBubbleView::RemoveBookmark() {
}
void BookmarkBubbleView::ShowEditor() {
+ // The user may have edited the title, commit it now.
+ SetNodeTitleFromTextField();
+
// Parent the editor to our root ancestor (not the root we're in, as that
// is the info bubble and will close shortly).
HWND parent = GetAncestor(GetViewContainer()->GetHWND(), GA_ROOTOWNER);