diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-10 15:08:26 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-10 15:08:26 +0000 |
commit | 0818ff1493b5acc658b881b0e7709f5440b3aef4 (patch) | |
tree | d32daa1284384572e15df34988d16bd73fbe79e4 | |
parent | 346203753912d6ffd17f5cdb3364c93ded6ae3da (diff) | |
download | chromium_src-0818ff1493b5acc658b881b0e7709f5440b3aef4.zip chromium_src-0818ff1493b5acc658b881b0e7709f5440b3aef4.tar.gz chromium_src-0818ff1493b5acc658b881b0e7709f5440b3aef4.tar.bz2 |
views: Clear the status label when switching between examples.
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9370022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121453 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ui/views/examples/examples_window.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc index 56092e5..94725ad 100644 --- a/ui/views/examples/examples_window.cc +++ b/ui/views/examples/examples_window.cc @@ -126,6 +126,7 @@ class ExamplesWindowContents : public WidgetDelegateView, example_shown_->RemoveAllChildViews(false); example_shown_->AddChildView(combobox_model_->GetItemViewAt(new_index)); example_shown_->RequestFocus(); + SetStatus(std::string()); Layout(); } |