From e783dbd76bbffdd704bf409bb1a53297cb332a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 20 Oct 2013 19:39:54 +0200 Subject: [PATCH] Move the highlight when changing the current tab --- ui/viewgroup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/viewgroup.h b/ui/viewgroup.h index 8236baaf7a..183dc052b2 100644 --- a/ui/viewgroup.h +++ b/ui/viewgroup.h @@ -291,6 +291,7 @@ public: tabs_[currentTab_]->SetVisibility(V_GONE); currentTab_ = tab; tabs_[currentTab_]->SetVisibility(V_VISIBLE); + tabStrip_->SetSelection(tab); } int GetCurrentTab() const { return currentTab_; }