Use set_autogroup() function
Since this function exists, use it instead of setting the global variable directly. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
956cb53cd5
commit
b4e36c5912
@ -1085,7 +1085,7 @@ void MainWindow::on_actionRenumber_triggered()
|
||||
|
||||
void MainWindow::on_actionAutoGroup_triggered()
|
||||
{
|
||||
autogroup = ui.actionAutoGroup->isChecked();
|
||||
set_autogroup(ui.actionAutoGroup->isChecked());
|
||||
if (autogroup)
|
||||
autogroup_dives();
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user