changeset 27383:44c72e41d468

add window decorations to floating variable editor subpanes (bug #55048) * variable-editor.cc (toplevel_changed): set the window flag when widget gets toplevel window
author Torsten Lilge <ttl-octave@mailbox.org>
date Tue, 10 Sep 2019 04:07:49 +0200
parents 9354d33dfbc4
children 918a3df652c3
files libgui/src/variable-editor.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/variable-editor.cc	Mon Sep 09 18:48:40 2019 -0400
+++ b/libgui/src/variable-editor.cc	Tue Sep 10 04:07:49 2019 +0200
@@ -180,6 +180,9 @@
         m_dock_action->setIcon (QIcon (":/actions/icons/widget-dock.png"));
         m_dock_action->setToolTip (tr ("Dock widget"));
 
+        setWindowFlags (Qt::Window);
+
+        show ();
         activateWindow ();
         setFocus ();