From fcc2929f2113a6c0e389fd6b7921c46b1347f5a4 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: ce120495a91ce0306bcb010923cd340fc70b87db --- voxygen/src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/voxygen/src/window.rs b/voxygen/src/window.rs index 89eb7268bc..8fa8c93d01 100644 --- a/voxygen/src/window.rs +++ b/voxygen/src/window.rs @@ -86,6 +86,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