don't allow hiding the first column, qt gets very confused if you do
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1107999
This commit is contained in:
parent
6c417d16fd
commit
597a574df5
|
@ -167,7 +167,7 @@ void showColumnsContextMenu(const QPoint& p, QTreeWidget& tree)
|
|||
action->setCheckable(true);
|
||||
action->setChecked(!header->isSectionHidden(idx));
|
||||
action->setData(idx);
|
||||
action->setEnabled(true);
|
||||
action->setEnabled(idx > 0);
|
||||
}
|
||||
|
||||
QAction* action = headerMenu.exec(tree.header()->mapToGlobal(p));
|
||||
|
|
Loading…
Reference in New Issue