Maybe solves #210

This commit is contained in:
kaetemi 2014-10-16 02:00:53 +02:00
parent dc17e72ad3
commit 8432b9eddc
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.