From 2a39c4344d2efc75e1363d47082be1bd3a3e8211 Mon Sep 17 00:00:00 2001 From: consti10 Date: Wed, 15 Nov 2023 16:17:00 +0100 Subject: [PATCH] show restart dialoque when changed --- .../configpopup/qopenhd_settings/AppScreenSettingsView.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qml/ui/configpopup/qopenhd_settings/AppScreenSettingsView.qml b/qml/ui/configpopup/qopenhd_settings/AppScreenSettingsView.qml index f7446c79c..5f94586f3 100755 --- a/qml/ui/configpopup/qopenhd_settings/AppScreenSettingsView.qml +++ b/qml/ui/configpopup/qopenhd_settings/AppScreenSettingsView.qml @@ -146,7 +146,11 @@ ScrollView { } } onCurrentIndexChanged: { - settings.screen_custom_font_dpi = font_dpi.get(currentIndex).value + const value_fdpi = font_dpi.get(currentIndex).value + if(settings.screen_custom_font_dpi != value_fdpi){ + _restartqopenhdmessagebox.show(); + } + settings.screen_custom_font_dpi = value_fdpi } } }