diff options
Diffstat (limited to 'Applications/DisplaySettings/DisplaySettings.cpp')
-rw-r--r-- | Applications/DisplaySettings/DisplaySettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/DisplaySettings/DisplaySettings.cpp b/Applications/DisplaySettings/DisplaySettings.cpp index 6ef0f91c44..0dd3c8248a 100644 --- a/Applications/DisplaySettings/DisplaySettings.cpp +++ b/Applications/DisplaySettings/DisplaySettings.cpp @@ -125,7 +125,7 @@ void DisplaySettingsWidget::create_frame() m_wallpaper_combo->set_model(*GUI::ItemListModel<AK::String>::create(m_wallpapers)); m_wallpaper_combo->on_change = [this](auto& text, const GUI::ModelIndex& index) { String path = text; - if (m_monitor_widget->set_wallpaper(path)) { + if (path.starts_with("/") && m_monitor_widget->set_wallpaper(path)) { m_monitor_widget->update(); return; } |