From 518dcd30d4d9506d0a7309b86282653de73ccde4 Mon Sep 17 00:00:00 2001 From: mrexodia Date: Sun, 11 Dec 2016 12:40:16 +0100 Subject: [PATCH] GUI: fixed find window in AttachDialog --- src/gui/Src/Gui/AttachDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Src/Gui/AttachDialog.cpp b/src/gui/Src/Gui/AttachDialog.cpp index dde83f85..fc066a61 100644 --- a/src/gui/Src/Gui/AttachDialog.cpp +++ b/src/gui/Src/Gui/AttachDialog.cpp @@ -126,7 +126,7 @@ retryFindWindow: QMessageBox::Yes | QMessageBox::No, this); if(hiddenProcessDialog.exec() == QMessageBox::Yes) { - DbgCmdExec(QString("attach " + pid).toUtf8().constData()); + DbgCmdExec(QString("attach %1").arg(pid, 0, 16).toUtf8().constData()); accept(); } }