diff --git a/app/src/gambas3/.src/Editor/Code/FEditor.class b/app/src/gambas3/.src/Editor/Code/FEditor.class index 65fd166b0..f7077c871 100644 --- a/app/src/gambas3/.src/Editor/Code/FEditor.class +++ b/app/src/gambas3/.src/Editor/Code/FEditor.class @@ -1095,7 +1095,7 @@ Public Sub Editors_KeyPress() Endif Endif - If Not Key.Shift Then + If Not Key.Shift And If LocalVariableDeclaration Then If CreateLocalVariable() Then iLine = Editor.Line Endif