exporting patch: # HG changeset patch # User Daniel J Sebald # Date 1528998934 18000 # Thu Jun 14 12:55:34 2018 -0500 # Node ID 197a61ed61ad1414b4a8c51da85fc8abe8551b00 # Parent fa66d81d0956b2176b3f254550069bac14eda02b Restore detaching GUI panels from QMainWindow when undocking (bug #54078) * octave-dock-widget.cc (octave_dock_widget::make_window): Remove the comment characters for the line dated 3/20/18. diff --git a/libgui/src/octave-dock-widget.cc b/libgui/src/octave-dock-widget.cc --- a/libgui/src/octave-dock-widget.cc +++ b/libgui/src/octave-dock-widget.cc @@ -259,7 +259,7 @@ namespace octave // decorations, e.g., no taskbar icon and always in front if (isFloating ()) setFloating (false); -// Remove after thorough testing 3/20/18 m_parent->removeDockWidget (this); + m_parent->removeDockWidget (this); setParent (0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint);