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

View file

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

View file

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