diff --git a/app/gui/SettingsView.qml b/app/gui/SettingsView.qml index ce08b88a..13896c60 100644 --- a/app/gui/SettingsView.qml +++ b/app/gui/SettingsView.qml @@ -68,7 +68,7 @@ ScrollView { var existing_width = parseInt(resolutionListModel.get(j).video_width); var existing_height = parseInt(resolutionListModel.get(j).video_height); - if (screenRect.width * screenRect.height === existing_width * existing_height) { + if (screenRect.width === existing_width && screenRect.height === existing_height) { // Duplicate entry, skip indexToAdd = -1 break