mirror of https://github.com/quasar/Quasar.git
Corrected Tooltip on Keyboard Input Button
This commit is contained in:
parent
6abcd75f11
commit
eb2794ee0c
|
@ -221,14 +221,16 @@ private void btnKeyboard_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (_enableKeyboardInput)
|
if (_enableKeyboardInput)
|
||||||
{
|
{
|
||||||
|
this.picDesktop.Cursor = Cursors.Default;
|
||||||
btnKeyboard.Image = Properties.Resources.keyboard_delete;
|
btnKeyboard.Image = Properties.Resources.keyboard_delete;
|
||||||
toolTipButtons.SetToolTip(btnMouse, "Enable keyboard input.");
|
toolTipButtons.SetToolTip(btnKeyboard, "Enable keyboard input.");
|
||||||
_enableKeyboardInput = false;
|
_enableKeyboardInput = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
this.picDesktop.Cursor = Cursors.Hand;
|
||||||
btnKeyboard.Image = Properties.Resources.keyboard_add;
|
btnKeyboard.Image = Properties.Resources.keyboard_add;
|
||||||
toolTipButtons.SetToolTip(btnMouse, "Disable keyboard input.");
|
toolTipButtons.SetToolTip(btnKeyboard, "Disable keyboard input.");
|
||||||
_enableKeyboardInput = true;
|
_enableKeyboardInput = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue