MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / setDocumentNameOfTaskDialog

Method setDocumentNameOfTaskDialog

src/Gui/Document.cpp:317–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315 }
316
317 void setDocumentNameOfTaskDialog(App::Document* doc)
318 {
319 Gui::TaskView::TaskDialog* dlg = Gui::Control().activeDialog(_pcDocument);
320 if (dlg) {
321 dlg->setDocumentName(doc->getName());
322 }
323 }
324};
325
326class ParentFinder

Callers 1

trySetEditMethod · 0.80

Calls 3

activeDialogMethod · 0.45
setDocumentNameMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected