fix(cpn): inputs and mixes must have source (#5798)

This commit is contained in:
Neil Horne
2025-02-06 12:05:31 +10:00
committed by GitHub
parent 0325bd776b
commit ec3c5bf188
19 changed files with 481 additions and 21 deletions
+2 -1
View File
@@ -140,7 +140,8 @@ ModelEdit::~ModelEdit()
void ModelEdit::closeEvent(QCloseEvent *event)
{
g.modelEditGeo( saveGeometry() );
g.modelEditGeo(saveGeometry());
emit closed(modelId);
}
void ModelEdit::addTab(GenericPanel *panel, QString text)
+2 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef _MODELEDIT_H_
#define _MODELEDIT_H_
#pragma once
#include <QtWidgets>
#include "genericpanel.h"
@@ -56,6 +55,7 @@ class ModelEdit : public QDialog
signals:
void modified();
void closed(int id);
private slots:
void onTabIndexChanged(int index);
@@ -72,5 +72,3 @@ class ModelEdit : public QDialog
void launchSimulation();
};
#endif // _MODELEDIT_H_