Blob Blame History Raw
From dca6479a86f17b357365f1a598b8deeb0d602dbe Mon Sep 17 00:00:00 2001
From: Kurt Hindenburg <kurt.hindenburg@gmail.com>
Date: Sat, 17 Sep 2016 12:40:54 -0400
Subject: [PATCH 2/2] Fix updating of tab title

Update the tab title to current program running.

Martin, this "if" was committed in
79ca76a94696eda408927b122b0b531676d4ba93.  For now, I removed the "if"

CCBUG: 368785
(cherry picked from commit 3747ecfde0800804717203d7f5fa0f96c0791052)
---
 src/Session.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/Session.cpp b/src/Session.cpp
index b8b42ab..6ba9f9b 100644
--- a/src/Session.cpp
+++ b/src/Session.cpp
@@ -992,9 +992,7 @@ ProcessInfo* Session::getProcessInfo()
     ProcessInfo* process = 0;
 
     if (isForegroundProcessActive()) {
-        if (_foregroundProcessInfo == nullptr) {
-            updateForegroundProcessInfo();
-        }
+        updateForegroundProcessInfo();
         process = _foregroundProcessInfo;
     } else {
         updateSessionProcessInfo();
-- 
2.7.4