diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-16 23:15:30 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-16 23:15:30 +0000 |
commit | 26abec2256f8e964208db94acbdd8be1cf1c68ed (patch) | |
tree | 0ac9d5986398b9a739026e55570db242b0d42b31 /chrome | |
parent | 84a0c0920ad28474b76d2030f57623e67f09d0a6 (diff) | |
download | chromium_src-26abec2256f8e964208db94acbdd8be1cf1c68ed.zip chromium_src-26abec2256f8e964208db94acbdd8be1cf1c68ed.tar.gz chromium_src-26abec2256f8e964208db94acbdd8be1cf1c68ed.tar.bz2 |
Fixed bookmark bubble bug. If you changed the title, then clicked edit
the title would revert.
BUG=1353834
TEST=Create a bookmark, on the bubble type in a new name, click edit
and make sure the editor that pops up has the name you just typed in.
Review URL: http://codereview.chromium.org/3093
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/bookmark_bubble_view.cc | 3 |
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); |