MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / refresh

Method refresh

src/maptoolsdialog.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void MapToolsDialog::refresh()
56{
57 for (int opt = 0; opt < D_STRUCT_NUM; opt++)
58 {
59 if (vui[opt].check)
60 vui[opt].check->setChecked(mconfig.enabled(opt));
61 if (vui[opt].line)
62 vui[opt].line->setText(QString::number(mconfig.scale(opt)));
63 }
64 ui->checkZoom->setChecked(mconfig.zoomEnabled);
65}
66
67void MapToolsDialog::on_buttonBox_clicked(QAbstractButton *button)
68{

Callers

nothing calls this directly

Calls 2

enabledMethod · 0.80
scaleMethod · 0.80

Tested by

no test coverage detected