diff options
| author | Rafał Lichwała <[email protected]> | 2025-11-29 13:32:30 +0100 |
|---|---|---|
| committer | Rafał Lichwała <[email protected]> | 2025-12-03 12:19:46 +0100 |
| commit | 9e5926147606737a87cf17535db1ecbfd2c9a2c5 (patch) | |
| tree | c3128c3f62fe7515d1f913fec93427668d15fde9 /src/settings/dolphin_generalsettings.kcfg | |
| parent | 861a95a262a2e4352c0913791bf8b43aa5f21424 (diff) | |
folderstabssettingspage: add 3 options for closing split view
There is one bool setting in Dolphin Interface->Folders&Tabs->Split_view
which determines which panel is closed on "Close split view" button
click (currently focused or unfocused one).
This commit replaces this setting with (enum-based) 3-state combo box.
Since now we can set "When closing a split view" action to:
- Close the active pane
- Close the inactive pane
- Close the right pane
BUG: 464696
BUG: 186185
Diffstat (limited to 'src/settings/dolphin_generalsettings.kcfg')
| -rw-r--r-- | src/settings/dolphin_generalsettings.kcfg | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/settings/dolphin_generalsettings.kcfg b/src/settings/dolphin_generalsettings.kcfg index 4a55b4bde..01ce316f4 100644 --- a/src/settings/dolphin_generalsettings.kcfg +++ b/src/settings/dolphin_generalsettings.kcfg @@ -98,9 +98,14 @@ <label>Use tab for switching between right and left view</label> <default>false</default> </entry> - <entry name="CloseActiveSplitView" type="Bool"> - <label>Close the view in focus when turning off split view</label> - <default>true</default> + <entry name="CloseSplitViewChoice" type="Enum"> + <choices> + <choice name="ActiveView" /> + <choice name="InactiveView" /> + <choice name="RightView" /> + </choices> + <label>Close split view</label> + <default code="true">EnumCloseSplitViewChoice::ActiveView</default> </entry> <entry name="OpenNewTabAfterLastTab" type="Bool"> <label>New tab will be open after last one</label> |
