MCPcopy Create free account
hub / github.com/DISTRHO/DPF / onFileSelected

Function onFileSelected

tests/FileBrowserDialog.cpp:165–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 void onFileSelected(const char* filename) override
166 {
167 if (filename == nullptr)
168 filename = "Cancelled";
169
170 if (selectedFile == filename)
171 return;
172
173 selectedFile = filename;
174 repaint();
175 }
176};
177
178// --------------------------------------------------------------------------------------------------------------------

Callers 2

fileBrowserSelectedFunction · 0.85

Calls 1

repaintFunction · 0.50

Tested by

no test coverage detected