// ----------------------------------------------------------- void QucsApp::slotCreateLib() { editText->setHidden(true); // disable text edit of component property if(ProjName.isEmpty()) { QMessageBox::critical(this, tr("Error"), tr("Please open project with subcircuits!")); return; } LibraryDialog *d = new LibraryDialog(this, ConSchematics); d->exec(); }
// ----------------------------------------------------------- void QucsApp::slotCreateLib() { slotHideEdit(); // disable text edit of component property if(ProjName.isEmpty()) { QMessageBox::critical(this, tr("Error"), tr("Please open project with subcircuits!")); return; } LibraryDialog *d = new LibraryDialog(this); d->fillSchematicList(Content->exportSchematic()); d->exec(); }