Moved printpoint type into create dialog.

This commit is contained in:
Ernie Pasveer
2024-12-22 17:18:09 -06:00
parent 9e4156ab11
commit 3ae0622cd3
17 changed files with 299 additions and 297 deletions
+6 -3
View File
@@ -231,15 +231,18 @@ void SeerPrintpointsBrowserWidget::handleAddToolButton () {
}
// Build a printpoint specification.
QString printpointParameters = dlg.printpointText();
QString type = dlg.dprintfType();
QString function = dlg.dprintfFunction();
QString channel = dlg.dprintfChannel();
QString parameters = dlg.printpointParameters();
// If nothing, just return.
if (printpointParameters == "") {
if (parameters == "" || type == "") {
return;
}
// Otherwise send the command to create the printpoint.
emit insertPrintpoint(printpointParameters);
emit insertPrintpoint(type, function, channel, parameters);
}
void SeerPrintpointsBrowserWidget::handleDeleteToolButton () {