Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: chrome/browser/views/bookmark_bubble_view.cc

Issue 3093: Fixed bookmark bubble bug. If you changed the title, then clicked edit... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_bubble_view.cc
===================================================================
--- chrome/browser/views/bookmark_bubble_view.cc (revision 2285)
+++ chrome/browser/views/bookmark_bubble_view.cc (working copy)
@@ -331,6 +331,9 @@
}
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698