From e67cb385bef34f550c3c12e05e657087f3282b34 Mon Sep 17 00:00:00 2001 From: Neil Horne Date: Mon, 7 Jan 2019 19:32:48 +1100 Subject: [PATCH] Add file name to model edit window title (#6288) --- companion/src/mdichild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/mdichild.cpp b/companion/src/mdichild.cpp index d0d3e1869..ade0caeb1 100644 --- a/companion/src/mdichild.cpp +++ b/companion/src/mdichild.cpp @@ -1260,7 +1260,7 @@ void MdiChild::openModelEditWindow(int row) gStopwatch.report("ModelEdit creation"); ModelEdit * t = new ModelEdit(this, radioData, (row), firmware); gStopwatch.report("ModelEdit created"); - t->setWindowTitle(tr("Editing model %1: ").arg(row+1) + QString(model.name)); + t->setWindowTitle(tr("Editing model %1: ").arg(row+1) + QString(model.name) + QString(" (%1)").arg(userFriendlyCurrentFile())); connect(t, &ModelEdit::modified, this, &MdiChild::setModified); gStopwatch.report("STARTING MODEL EDIT"); t->show();