#314258 - Duplicate tab settings when duplicating tabs

Authored by palant on Feb 13 2017, 8:28 PM.

Description

#314258 - Duplicate tab settings when duplicating tabs

Summary: Whenever a new tab is created with this change we'll try to copy configuration from an existing tab. I'm not really familiar with the code but this seems to be the right way to do it.

Test Plan:
When duplicating tabs, various tab settings should be duplicated as well:

  • Sort column and order
  • Zoom factor
  • View type (brief vs. detailed)
  • View filter (all files vs. custom)
  • "Show Previews" setting

There are also some ListPanel properties being duplicated but I don't know how these are set.

Tab duplication should not create unnecessary sections in the config file.

Reviewers: Krusader, abika, martinkostolny, asensi

Reviewed By: Krusader, abika, martinkostolny, asensi

Subscribers: asensi, martinkostolny, abika, Krusader

Tags: Krusader

Differential Revision: https://phabricator.kde.org/D4418

BUG: 314258

Details

Committed
Alexander Bikadorov <alex.bikadorov@kdemail.net>Feb 13 2017, 8:35 PM
Reviewer
Krusader
Parents
R167:1db4a2b8a3e6: #375831 - Sort empty file extensions correctly
Branches
Unknown
Tags
Unknown
Alexander Bikadorov <alex.bikadorov@kdemail.net> committed R167:b56a40421e24: #314258 - Duplicate tab settings when duplicating tabs (authored by palant).Feb 13 2017, 8:35 PM