Commit 1d557e8a authored by Alexandre Pereira's avatar Alexandre Pereira Committed by Nate Graham

Fix folderview popup mode list view icon size inheriting icon view icon size

Summary:
The icon size is only selectable in icon view mode.
but selecting a different icon size on icon view mode also changes
the size of the icons in list view mode.

This creates a problem since the list icon size is hardcoded by default to small,
but it seems it is being changed on other places of the code.

BUG: 418269
FIXED-IN: 5.19.0

Test Plan:
I tested this on icon folderview and normal desktop folderview, changing icon sizes in iconview and listview
and restarting plasmashell.

Reviewers: #plasma, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28057
parent 0325d698
......@@ -1080,6 +1080,14 @@ FocusScope {
gridView.iconSize = gridView.makeIconSize();
}
}
Connections {
target: plasmoid.configuration
onViewModeChanged: {
gridView.iconSize = gridView.makeIconSize();
}
}
Connections {
target: plasmoid.configuration
......
Markdown is supported
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