diff options
author | Tim Kuipers <t.kuipers@ultimaker.com> | 2020-02-27 22:39:19 +0300 |
---|---|---|
committer | Tim Kuipers <t.kuipers@ultimaker.com> | 2020-02-27 22:39:19 +0300 |
commit | 3919b1292e40db992f1387e7d0436f3ee9b6b11d (patch) | |
tree | 4c9ffb5f783063403ea74a41fde96d30f23a41ee /plugins/SolidView | |
parent | 42a1b02d4cf45b7c83929db46a7cddb844b816f1 (diff) |
fix cooldown for xray warning
Diffstat (limited to 'plugins/SolidView')
-rw-r--r-- | plugins/SolidView/SolidView.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index 52e0cf936f..f0d1d75690 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -66,7 +66,7 @@ class SolidView(View): self._next_xray_checking_time = time.time() self._xray_checking_update_time = 1.0 # seconds - self._xray_warning_cooldown = 1 # reshow Model error message every 10 minutes + self._xray_warning_cooldown = 60 * 10 # reshow Model error message every 10 minutes self._xray_warning_message = Message(catalog.i18nc("@info:status", "Your model is not manifold. The highlighted areas indicate either missing or extraneous surfaces.") , lifetime = 60 * 5 # leave message for 5 minutes , title = catalog.i18nc("@info:title", "Model errors"), |