From 7593d4e821d54c90a3233a43067e6354b99dffb0 Mon Sep 17 00:00:00 2001 From: Yeedo Date: Thu, 25 Apr 2019 14:23:40 +0100 Subject: [PATCH] Tiny fix to prevent settings from permanently being marked as changed Former-commit-id: 665a8851526c1386e497064e2b0f3f8689db60d8 --- voxygen/src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/voxygen/src/window.rs b/voxygen/src/window.rs index bec293bc14..fdfabbb76d 100644 --- a/voxygen/src/window.rs +++ b/voxygen/src/window.rs @@ -83,6 +83,7 @@ impl Window { if self.settings_changed { events.push(Event::SettingsChanged); + self.settings_changed = false; } // Copy data that is needed by the events closure to avoid lifetime errors