# HG changeset patch # User Torsten # Date 1410544293 -7200 # Node ID 63c5f95afeb3a9e83e53d37c001be82d5b0dc13a # Parent 9254ff4036b277b558b00ddaf375b7c018632c16 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 diff -r 9254ff4036b2 -r 63c5f95afeb3 libgui/src/m-editor/file-editor.cc --- 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 ())