From 383d82fe1dc43c09f1d654c0645ee7efef5754af Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 17 Apr 2017 10:04:38 -0700 Subject: [PATCH] fix multi-line display in results window --- tools/oven/src/ui/ResultsWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/oven/src/ui/ResultsWindow.cpp b/tools/oven/src/ui/ResultsWindow.cpp index 99389f363c..36b7e83177 100644 --- a/tools/oven/src/ui/ResultsWindow.cpp +++ b/tools/oven/src/ui/ResultsWindow.cpp @@ -76,4 +76,7 @@ void ResultsWindow::changeStatusForRow(int rowIndex, const QString& result) { auto statusItem = new QTableWidgetItem(result); statusItem->setFlags(statusItem->flags() & ~Qt::ItemIsEditable); _resultsTable->setItem(rowIndex, 1, statusItem); + + // resize the row for the new contents + _resultsTable->resizeRowToContents(rowIndex); }