Fix #7583
This commit is contained in:
parent
314da124f3
commit
cc1b464151
1 changed files with 1 additions and 0 deletions
|
|
@ -985,6 +985,7 @@ PYWRAP1(set_os_window_title) {
|
|||
PyObject *title;
|
||||
PA("KU", &os_window_id, &title);
|
||||
WITH_OS_WINDOW(os_window_id)
|
||||
if (os_window->disallow_title_changes) break;
|
||||
if (PyUnicode_GetLength(title)) {
|
||||
os_window->title_is_overriden = true;
|
||||
Py_XDECREF(os_window->window_title);
|
||||
|
|
|
|||
Loading…
Reference in a new issue