Move the highlight when changing the current tab

This commit is contained in:
Henrik Rydgård
2013-10-20 19:39:54 +02:00
parent 5e0c4bc0a6
commit e783dbd76b
+1
View File
@@ -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_; }