This is useful when appending multiple files from the command line. Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@xxxxxxxxx> --- src/KsMainWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/KsMainWindow.cpp b/src/KsMainWindow.cpp index af8afb3..80a6537 100644 --- a/src/KsMainWindow.cpp +++ b/src/KsMainWindow.cpp @@ -1255,8 +1255,10 @@ void KsMainWindow::_load(const QString& fileName, bool append) if (append) { bool ok; + QString description = fileName + "\n\nOffset [usec]:"; + shift = QInputDialog::getDouble(this, tr("Append Trace file"), - tr("Offset [usec]:"), 0, + description, 0, INT_MIN, INT_MAX, 1, &ok); if (ok) shift *= 1000.; -- 2.20.1