Do not hide panel settings when a panel-parented dialog takes focus
- Do not hide panel settings when a panel-parented dialog takes focus
This avoids the Alternative Widgets dialog to remain stuck open when you close edit mode with it open. Without the new "if", the following one gets executed, meaning that the panel config immediately steals focus, and thus the Add Widgets dialog can never lose it.
Edited by Niccolò Venerandi