MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / newFile

Method newFile

src/ui/mainwindow.cpp:568–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568void MainWindow::newFile()
569{
570 auto* e = new CodeEditor(this);
571 int i=ui->tabWidget->addTab(e,tr("[New]"));
572 ui->tabWidget->setCurrentIndex(i);
573
574 setupEditor(e);
575}
576
577bool MainWindow::saveFile()
578{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected