disable hiding enable and name columns on folder models

Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
leo78913
2023-07-07 12:36:57 -03:00
parent 3154c2644a
commit d1cceac7d1
5 changed files with 6 additions and 1 deletions

View File

@ -202,6 +202,7 @@ class ResourceFolderModel : public QAbstractListModel {
QStringList m_column_names = {"Enable", "Name", "Last Modified"};
QStringList m_column_names_translated = {tr("Enable"), tr("Name"), tr("Last Modified")};
QList<QHeaderView::ResizeMode> m_column_resize_modes = { QHeaderView::ResizeToContents, QHeaderView::Stretch, QHeaderView::ResizeToContents };
QList<bool> m_columnsHideable = { false, false, true };
bool m_can_interact = true;