Fix map sorting via shortcut
This commit is contained in:
parent
300a41c149
commit
b310ccba79
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ void MainWindow::initMapSortOrder() {
|
|||
mapSortOrderActionGroup->addAction(ui->actionSort_by_Area);
|
||||
mapSortOrderActionGroup->addAction(ui->actionSort_by_Layout);
|
||||
|
||||
connect(ui->toolButton_MapSortOrder, &QToolButton::triggered, this, &MainWindow::mapSortOrder_changed);
|
||||
connect(mapSortOrderActionGroup, &QActionGroup::triggered, this, &MainWindow::mapSortOrder_changed);
|
||||
|
||||
QAction* sortOrder = ui->toolButton_MapSortOrder->menu()->actions()[mapSortOrder];
|
||||
ui->toolButton_MapSortOrder->setIcon(sortOrder->icon());
|
||||
|
|
Loading…
Reference in a new issue