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

Unified Diff: chrome/browser/sync/sync_setup_wizard.cc

Issue 7465098: Sync UI: Fix issue when clicking sync error link twice. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Show the dialog when clicking the link Created 9 years, 5 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 | « chrome/browser/sync/sync_setup_flow.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_setup_wizard.cc
diff --git a/chrome/browser/sync/sync_setup_wizard.cc b/chrome/browser/sync/sync_setup_wizard.cc
index 7d9dac25aa7f4a9314969cee87454592f7aeb2e0..61113fdf962a9c91d0d5daebf42573de46f48bc8 100644
--- a/chrome/browser/sync/sync_setup_wizard.cc
+++ b/chrome/browser/sync/sync_setup_wizard.cc
@@ -87,7 +87,8 @@ void SyncSetupWizard::Step(State advance_state) {
}
bool SyncSetupWizard::IsVisible() const {
- return flow_container_->get_flow() != NULL;
+ return flow_container_->get_flow() != NULL &&
+ flow_container_->get_flow()->IsAttached();
}
// static
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698