Skip to content
Commit c96bd535 authored by Thomas Fischer's avatar Thomas Fischer 💬
Browse files

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'.

CCBUG: 414195
parent ce81f67c
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