mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-15 07:26:33 +00:00
Merge branch 'cstemprefs48' into 'openmw-48'
!2844 for 0.48 See merge request OpenMW/openmw!2846
This commit is contained in:
commit
da5376ff3a
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ QMenu & TableHeaderMouseEventHandler::createContextMenu()
|
|||
action->setChecked(!table.isColumnHidden(i));
|
||||
menu->addAction(action);
|
||||
|
||||
connect(action, &QAction::triggered, [this, &action, &i]() {
|
||||
connect(action, &QAction::triggered, [this, action, i]() {
|
||||
table.setColumnHidden(i, !action->isChecked());
|
||||
action->setChecked(!action->isChecked());
|
||||
action->toggle();
|
||||
|
|
Loading…
Reference in a new issue