]> SALOME platform Git repositories - tools/eficas.git/blobdiff - Editeur/Interp.py
Salome HOME
PN
[tools/eficas.git] / Editeur / Interp.py
index 752a44c711e69634d4effea3b1378f29d2c5e6e5..8fb95820ff68ca5b1d3468f0c17b959724fb4ad0 100644 (file)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 #            CONFIGURATION MANAGEMENT OF EDF VERSION
 # ======================================================================
 # COPYRIGHT (C) 1991 - 2002  EDF R&D                  WWW.CODE-ASTER.ORG
@@ -57,6 +58,7 @@ class InterpWindow(Tkinter.Toplevel):
         self.text.pack( fill='both', expand = 1)
         self.text.bind( '<KeyPress>', self.clearMsg)
         self.text.bind( '<Return>', self.inputhandler)
+        self.text.bind( '<KP_Enter>', self.inputhandler)
         self.text.bind( '<Up>', self.uphistory)
         self.text.bind( '<Down>', self.downhistory)
         self.text.bind( '<Control-a>', self.goto_sol)