MCPcopy Create free account
hub / github.com/KDE/labplot / checkOkButton

Method checkOkButton

src/frontend/datasources/DatasetMetadataManagerDialog.cpp:69–72  ·  view source on GitHub ↗

* @brief Checks whether the OK button of the dialog can be pressed or not */

Source from the content-addressed store, hash-verified

67 * @brief Checks whether the OK button of the dialog can be pressed or not
68 */
69void DatasetMetadataManagerDialog::checkOkButton() {
70 bool enable = m_mainWidget->checkDataValidity();
71 m_okButton->setEnabled(enable);
72}
73
74/**
75 * @brief Triggers updating the metadata file containing the categories, subcategories and datasets.

Callers

nothing calls this directly

Calls 2

checkDataValidityMethod · 0.80
setEnabledMethod · 0.45

Tested by

no test coverage detected