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

Unified Diff: ui/views/examples/examples_window.cc

Issue 299203003: Views Examples: Notify Combobox after updating the model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: ui/views/examples/examples_window.cc
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc
index 8372669d324cca59601cc408c10cdca4929bba71..55f7b554eb479e780398ace6fa6429a03d5da6f7 100644
--- a/ui/views/examples/examples_window.cc
+++ b/ui/views/examples/examples_window.cc
@@ -131,6 +131,7 @@ class ExamplesWindowContents : public WidgetDelegateView,
instance_ = this;
combobox_->set_listener(this);
combobox_model_.SetExamples(examples.Pass());
+ combobox_->ModelChanged();
set_background(Background::CreateStandardPanelBackground());
GridLayout* layout = new GridLayout(this);
« 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