Refresh display resolutions when opening the settings page
This commit is contained in:
parent
8381039f97
commit
53e3cd143e
3 changed files with 46 additions and 26 deletions
|
|
@ -83,6 +83,9 @@ Flickable {
|
|||
|
||||
// ignore setting the index at first, and actually set it when the component is loaded
|
||||
Component.onCompleted: {
|
||||
// Refresh display data before using it to build the list
|
||||
SystemProperties.refreshDisplays()
|
||||
|
||||
// Add native resolutions for all attached displays
|
||||
var done = false
|
||||
for (var displayIndex = 0; !done; displayIndex++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue