mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:23:23 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue