Merge pull request #741 from Kellermorph/update-terminal-numbering

Extend terminal numbering dialog with letter numbering and strip selection
This commit is contained in:
Laurent Trinques
2026-08-21 08:37:48 +02:00
committed by GitHub
4 changed files with 223 additions and 63 deletions
+4 -4
View File
@@ -2795,11 +2795,11 @@ void QETDiagramEditor::generateTerminalBlock()
* Opens the dialog for automatic terminal numbering and applies the generated undo command.
*/
void QETDiagramEditor::slot_terminalNumbering() {
TerminalNumberingDialog dialog(this);
if (dialog.exec() == QDialog::Accepted) {
QETProject *project = currentProject();
if (!project) return;
QETProject *project = currentProject();
if (!project) return;
TerminalNumberingDialog dialog(this, project);
if (dialog.exec() == QDialog::Accepted) {
// Fetch the generated undo command from the dialog logic
QUndoCommand *macro = dialog.getUndoCommand(project);