Fix Python build

This commit is contained in:
Simon Hausmann 2024-04-23 11:58:35 +02:00 committed by Olivier Goffart
parent f302142cd7
commit 5cfd8e8c03

View file

@ -21,7 +21,7 @@ impl From<PyTimerMode> for i_slint_core::timers::TimerMode {
}
}
#[pyclass(name = "Timer")]
#[pyclass(name = "Timer", unsendable)]
pub struct PyTimer {
timer: i_slint_core::timers::Timer,
}