changeset 24730:05c9f42512cb

* file-editor.cc: fix broken copy/cut/past/undo actions
author Torsten <mttl@mailbox.org>
date Sun, 11 Feb 2018 10:16:53 +0100
parents 22e60ef42640
children a01472d4a170
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	Sat Feb 10 18:21:46 2018 -0500
+++ b/libgui/src/m-editor/file-editor.cc	Sun Feb 11 10:16:53 2018 +0100
@@ -2388,7 +2388,7 @@
   bool file_editor::editor_tab_has_focus (void)
   {
     QWidget *foc_w = focusWidget ();
-    if (foc_w && foc_w->inherits ("octave_qscintilla"))
+    if (foc_w && foc_w->inherits ("octave::octave_qscintilla"))
       return true;
     return false;
   }