summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-02 20:56:14 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-02 21:07:16 +0300
commit82194116950eb6977eca992df48fb265e4b5df6c (patch)
tree87f0feec0b93c3bd6a5b79210784b363c90ba607 /src/gui/widgets
parente348a7935fb665e821e9b1189c3f1b614c882958 (diff)
downloadmanaplus-82194116950eb6977eca992df48fb265e4b5df6c.tar.gz
manaplus-82194116950eb6977eca992df48fb265e4b5df6c.tar.bz2
manaplus-82194116950eb6977eca992df48fb265e4b5df6c.tar.xz
manaplus-82194116950eb6977eca992df48fb265e4b5df6c.zip
Adjust time between allowed insertions in text field from 1 to 2 seconds.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/textfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp
index fd50ee4d5..30d409bf7 100644
--- a/src/gui/widgets/textfield.cpp
+++ b/src/gui/widgets/textfield.cpp
@@ -297,7 +297,7 @@ void TextField::keyPressed(gcn::KeyEvent &keyEvent)
if (mLastEventPaste && mLastEventPaste > cur_time)
break;
handlePaste();
- mLastEventPaste = cur_time + 1;
+ mLastEventPaste = cur_time + 2;
break;
default:
break;