diff --git a/spyderlib/widgets/dicteditor.py b/spyderlib/widgets/dicteditor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/dicteditor.py
+++ b/spyderlib/widgets/dicteditor.py
@@ -96,7 +96,7 @@ def display_to_value(value, default_value, ignore_errors=True):
         if ignore_errors:

             value = try_to_eval(value)

         else:

-            raise

+            return default_value

     return value
Variable Explorer: Avoid a crash when editing inline types

- This was happening when the user tried to change a values' type, e.g. from int
to list
- What happens now is that the value is returned unchanged