274 // Ensure that the current grid - and only the current grid - is selected. |
274 // Ensure that the current grid - and only the current grid - is selected. |
275 int grid = m_config.grid(); |
275 int grid = m_config.grid(); |
276 ui.actionGridCoarse->setChecked (grid == Grid::Coarse); |
276 ui.actionGridCoarse->setChecked (grid == Grid::Coarse); |
277 ui.actionGridMedium->setChecked (grid == Grid::Medium); |
277 ui.actionGridMedium->setChecked (grid == Grid::Medium); |
278 ui.actionGridFine->setChecked (grid == Grid::Fine); |
278 ui.actionGridFine->setChecked (grid == Grid::Fine); |
|
279 ui.actionPolarGrid->setChecked(m_grid->type() == Grid::Polar); |
279 emit gridChanged(); |
280 emit gridChanged(); |
280 } |
281 } |
281 |
282 |
282 // --------------------------------------------------------------------------------------------------------------------- |
283 // --------------------------------------------------------------------------------------------------------------------- |
283 // |
284 // |