Index: /trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp	(revision 71668)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerWidget.cpp	(revision 71669)
@@ -893,9 +893,11 @@
         m_logPageList[tabIndex] = pLogPage;
 
-        /* Set the log string of the UIVMLogPage: */
-        pLogPage->setLogString(strLogContent);
         /* Set text edit since we want to display this text: */
         if (!noLogsToShow)
+        {
             pLogPage->setTextEditText(strLogContent);
+            /* Set the log string of the UIVMLogPage: */
+            pLogPage->setLogString(strLogContent);
+        }
         /* In case there are some errors append the error text as html: */
         else
