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

--- Comment #7 from Thomas Fischer <fisc...@unix-ag.uni-kl.de> ---
Git commit f72bd0febd592e9cb89e2ed8312b3e5eeaf0b2f5 by Thomas Fischer.
Committed on 24/12/2019 at 20:08.
Pushed by thomasfischer into branch 'kbibtex/0.10'.

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/f72bd0febd592e9cb89e2ed8312b3e5eeaf0b2f5

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

Reply via email to