Commit f2675444 authored by Felix Ernst's avatar Felix Ernst 🇺🇦 Committed by Felix Ernst
Browse files

Fix view mode-specific settings not always applying

When the current view mode is different from the view mode for
which settings were changed in Dolphin's settings dialog, those
changes were sometimes not present when then changing the view
mode of a view to the view mode for which settings were changed.

This commit fixes this by always loading the settings for all view
modes in the DolphinItemListView even if the view is currently
using only one of those view modes.
parent 57cdee59
Pipeline #256387 passed with stage
in 11 minutes and 57 seconds
......@@ -77,8 +77,10 @@ void DolphinItemListView::setEnabledSelectionToggles(DolphinItemListView::Select
void DolphinItemListView::readSettings()
ViewModeSettings settings(itemLayout());
// We load the settings for all view modes now because we don't load them when the view mode changes.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment