We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703151b commit 8cb3a60Copy full SHA for 8cb3a60
1 file changed
kitty/state.c
@@ -938,6 +938,7 @@ PYWRAP1(set_options) {
938
global_state.debug_rendering = debug_rendering ? true : false;
939
global_state.debug_font_fallback = debug_font_fallback ? true : false;
940
if (!convert_opts_from_python_opts(opts, &global_state.opts)) return NULL;
941
+ Py_XDECREF(global_state.options_object);
942
global_state.options_object = opts;
943
Py_INCREF(global_state.options_object);
944
Py_RETURN_NONE;
0 commit comments