summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <kurt.hindenburg@gmail.com>2016-09-17 16:40:54 (GMT)
committerKurt Hindenburg <kurt.hindenburg@gmail.com>2016-09-17 16:40:54 (GMT)
commit3747ecfde0800804717203d7f5fa0f96c0791052 (patch)
treee805e1ce2b3756fb17dc2ace986177ae3fdf313b
parent8e5a5b1ec1fb68e359319c9ce23a43c0434b836a (diff)
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
-rw-r--r--src/Session.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Session.cpp b/src/Session.cpp
index 0a229de..68f0ffc 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();