SettingsPanel: remove keyboard focus, so it will close gracefully if clicking on something else (like others NPanels)
This commit is contained in:
parent
21383b03c5
commit
4f3e0bdb1e
2 changed files with 1 additions and 4 deletions
|
|
@ -24,9 +24,6 @@ NPanel {
|
||||||
panelAnchorHorizontalCenter: true
|
panelAnchorHorizontalCenter: true
|
||||||
panelAnchorVerticalCenter: true
|
panelAnchorVerticalCenter: true
|
||||||
|
|
||||||
// Enable keyboard focus for settings panel
|
|
||||||
panelKeyboardFocus: true
|
|
||||||
|
|
||||||
// Tabs enumeration, order is NOT relevant
|
// Tabs enumeration, order is NOT relevant
|
||||||
enum Tab {
|
enum Tab {
|
||||||
About,
|
About,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import qs.Services
|
||||||
import qs.Widgets
|
import qs.Widgets
|
||||||
|
|
||||||
NPanel {
|
NPanel {
|
||||||
id: panel
|
id: root
|
||||||
|
|
||||||
panelWidth: 460 * scaling
|
panelWidth: 460 * scaling
|
||||||
panelHeight: 708 * scaling
|
panelHeight: 708 * scaling
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue