rendered paste bodyIndex: /home/thierry/Documents/planesShift/head/planeshift-base/planeshift/src/client/gui/pawsdetailwindow.h===================================================================--- /home/thierry/Documents/planesShift/head/planeshift-base/planeshift/src/client/gui/pawsdetailwindow.h (révision 1776)+++ /home/thierry/Documents/planesShift/head/planeshift-base/planeshift/src/client/gui/pawsdetailwindow.h (copie de travail)@@ -37,6 +37,7 @@ virtual ~pawsDetailWindow(); bool OnButtonPressed( int mouseButton, int keyModifier, pawsWidget* widget );+ bool SelectTab( pawsWidget* widget ); bool PostSetup(); bool FillInfo();Index: /home/thierry/Documents/planesShift/head/planeshift-base/planeshift/src/client/gui/pawsdetailwindow.cpp===================================================================--- /home/thierry/Documents/planesShift/head/planeshift-base/planeshift/src/client/gui/pawsdetailwindow.cpp (révision 1776)+++ /home/thierry/Documents/planesShift/head/planeshift-base/planeshift/src/client/gui/pawsdetailwindow.cpp (copie de travail)@@ -181,6 +181,7 @@ skills[cat].Append(msg.skills[s].text); } }+ SelectTab((pawsWidget*)lastTab); } this->Show(); return;@@ -189,6 +190,12 @@ bool pawsDetailWindow::OnButtonPressed( int mouseButton, int keyModifier, pawsWidget* widget ) { + return SelectTab(widget);+}+++bool pawsDetailWindow::SelectTab( pawsWidget* widget ){+ switch ( widget->GetID() ) { case BTN_STATS:@@ -231,3 +238,19 @@ } return false; }+++/*++ if(button){+ button->Show();+ if(button == lastTab)+ {+ button->SetState(true);+ }+ else+ {+ button->SetState(false);+ }+ }+*/