beremiz

92071c4b85e9
Parents afcc13faecd5
Children 61280a7d9ff2
Fix bug when opening File Editor
--- a/ProjectController.py Sun Jul 29 19:33:52 2012 +0200
+++ b/ProjectController.py Tue Jul 31 17:38:18 2012 +0200
@@ -1001,8 +1001,8 @@
if os.path.isfile(filepath):
file_extension = os.path.splitext(filepath)[1]
- editors = dict([(editor_name, editor)
- for extension, editor_name, editor in features.file_editors
+ editors = dict([(edit_name, edit_class)
+ for extension, edit_name, edit_class in features.file_editors
if extension == file_extension])
if editor_name == "":