changeset 19119:63c5f95afeb3 gui-release

Allow run selection for all editor file types (bug #43195) * file-editor.cc (handle_editor_state_changed): do not consider the actual file type when enabling/disabling the run selection action
author Torsten <ttl@justmail.de>
date Fri, 12 Sep 2014 19:51:33 +0200
parents 9254ff4036b2
children 3ed674758e0d
files libgui/src/m-editor/file-editor.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Wed Sep 10 14:16:03 2014 -0400
+++ b/libgui/src/m-editor/file-editor.cc	Fri Sep 12 19:51:33 2014 +0200
@@ -1023,7 +1023,7 @@
     {
       _copy_action->setEnabled (copy_available);
       _cut_action->setEnabled (copy_available);
-      _run_selection_action->setEnabled (copy_available && is_octave_file);
+      _run_selection_action->setEnabled (copy_available);
       _run_action->setEnabled (is_octave_file);
 
       if (!file_name.isEmpty ())