changeset 33587:a56b2283959a

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 May 2024 08:42:51 +0200
parents 3fe954c2fd25 (current diff) 3216c01fd6a7 (diff)
children f07a7fe7bd51
files libgui/src/m-editor/file-editor.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Mon May 13 11:41:11 2024 -0700
+++ b/libgui/src/m-editor/file-editor.cc	Thu May 16 08:42:51 2024 +0200
@@ -1615,7 +1615,7 @@
 // This slot is a reimplementation of the virtual slot in octave_dock_widget.
 // We need this for updating the parent of the find dialog
 void
-file_editor::toplevel_change (bool)
+file_editor::toplevel_change (bool toplevel)
 {
   if (m_find_dialog)
     {
@@ -1626,6 +1626,8 @@
       find_create ();
       m_find_dialog->activateWindow ();
     }
+
+  octave_dock_widget::toplevel_change (toplevel);
 }
 
 void