MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / cancelUpdateCheck

Method cancelUpdateCheck

libs/librepcb/editor/library/librariesmodel.cpp:198–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void LibrariesModel::cancelUpdateCheck() noexcept {
199 if (mMode != Mode::RemoteLibs) return;
200
201 mApiEndpointsInProgress.clear(); // Should cancel the network requests.
202 mOnlineLibsErrors.clear();
203 emit uiDataChanged(getUiData());
204}
205
206void LibrariesModel::toggleAll() noexcept {
207 if (mMergedLibs.empty()) return;

Callers 1

triggerMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected