Skip to content
Commit 7698910b authored by Luis Javier Merino's avatar Luis Javier Merino Committed by Kurt Hindenburg
Browse files

Reshow configuration dialog after toggling borders

Usually, a QDialog with a parent stays on top of its parent.  However,
after hiding and showing the main window when toggling the
border-less/title-less option, this stops being true.

This can confuse users, if they apply this setting without closing the
configuration dialog, and the dialog gets behind the main window.
Afterwards, trying to open the configuration dialog doesn't work (it's
already open, but behind the window).

So, hide and show also the configuration dialog, which makes the dialog
stay on top of its parent again.

BUG: 479081
(cherry picked from commit bf010aca)
parent 9af7cf25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment