https://bugs.kde.org/show_bug.cgi?id=414195

--- Comment #8 from Thomas Fischer <fisc...@unix-ag.uni-kl.de> ---
Git commit c96bd535eb37becaa6730933ed2646f1a2c8ae89 by Thomas Fischer.
Committed on 26/12/2019 at 19:39.
Pushed by thomasfischer into branch 'master'.

Prevent hiding all columns in file list view

Prevent the user from hiding all columns like 'title', 'identifier', or
'year' until no column is left. In such a case, the list view's header
would completely disappear, making it impossible to show columns again.

This commit addresses this issue two-fold: first, if only one column is
left, the action to hide this column is disabled (GUI-centric solution).
Second, the code that does the actual hiding/show will also abort hiding
operations if requested to hide the last visible column (logic-centric
solution).

This commit is a forward-port of commit 5d1d90147047c659806ae0fa5 from
branch 'kbibtex/0.9'.

M  +1    -0    ChangeLog
M  +13   -0    src/gui/file/basicfileview.cpp

https://commits.kde.org/kbibtex/c96bd535eb37becaa6730933ed2646f1a2c8ae89

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to