src/mainwindow.cpp

changeset 1184
393babf1319d
parent 1162
94e12806d741
child 1185
c2e0db52ea07
child 1236
861bf8ebb8ec
equal deleted inserted replaced
1183:caa20ed02728 1184:393babf1319d
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 //

mercurial