Maybe solves #210

--HG--
branch : develop
This commit is contained in:
kaetemi 2014-10-16 02:00:53 +02:00
parent 7487ea4135
commit fff4edb2c9
3 changed files with 8 additions and 0 deletions

View file

@ -1013,6 +1013,7 @@ bool mainLoop()
SetMouseCursor ();
// Set the cursor.
ContextCur.context("STAND BY");
UserControls.reset();
// set the default box for keyboard
setDefaultChatWindow(PeopleInterraction.ChatGroup.Window);
@ -2463,6 +2464,7 @@ bool mainLoop()
SetMouseCursor ();
// Set the cursor.
ContextCur.context("STAND BY");
UserControls.reset();
// set the default box for keyboard
CChatWindow *defaultChatWindow;

View file

@ -174,6 +174,10 @@ void CUserControls::init()
}// init //
void CUserControls::reset()
{
init();
}
//-----------------------------------------------
// needReleaseForward :

View file

@ -152,6 +152,8 @@ public:
/// Constructor
CUserControls();
void reset();
/// Return the string associated to the motion Mode.
std::string modeStr() const;
/// Return the motion Mode.