From 6e95bbb5248ec286023e3c36171f125a0234dd9e Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Wed, 2 Aug 2017 17:50:34 +0300 Subject: [PATCH] Server log remembers the state of the filters and applies the filter when opened --- Barotrauma/BarotraumaClient/Source/Networking/ServerLog.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Barotrauma/BarotraumaClient/Source/Networking/ServerLog.cs b/Barotrauma/BarotraumaClient/Source/Networking/ServerLog.cs index 2b3061784..1929837ec 100644 --- a/Barotrauma/BarotraumaClient/Source/Networking/ServerLog.cs +++ b/Barotrauma/BarotraumaClient/Source/Networking/ServerLog.cs @@ -49,6 +49,8 @@ namespace Barotrauma.Networking return true; }; + tickBox.Selected = !msgTypeHidden[(int)msgType]; + y += 20; } @@ -58,6 +60,7 @@ namespace Barotrauma.Networking { AddLine(line); } + FilterMessages(); listBox.UpdateScrollBarSize();