Mercurial > octave
changeset 33586:3216c01fd6a7 stable
fix dragging editor from main window into floating state (bug #65725)
* file-editor.cc (toplevel_changes): added missing call to original
slot octave_doc_widget::toplevel_changed
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Tue, 14 May 2024 22:03:47 +0200 |
parents | 87365d404184 |
children | a56b2283959a 97b44c6e3e35 |
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:40:48 2024 -0700 +++ b/libgui/src/m-editor/file-editor.cc Tue May 14 22:03:47 2024 +0200 @@ -1508,7 +1508,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) +void file_editor::toplevel_change (bool toplevel) { if (m_find_dialog) { @@ -1519,6 +1519,8 @@ find_create (); m_find_dialog->activateWindow (); } + + octave_dock_widget::toplevel_change (toplevel); } void file_editor::update_octave_directory (const QString& dir)