summaryrefslogtreecommitdiffstats
path: root/vcl/source/control/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r--vcl/source/control/edit.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index f5bf3c47b427..f3fcf87ce751 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -1675,10 +1675,8 @@ bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt )
break;
case KEY_RETURN:
- if (maActivateHdl.IsSet())
- {
+ if (maActivateHdl.IsSet() && !rKEvt.GetKeyCode().GetModifier())
bDone = maActivateHdl.Call(*this);
- }
break;
default: