Don't try to record timeouts if timeout gestures are disabled
This would lead to a crash if there was a timeout during recording. https://sourceforge.net/apps/trac/easystroke/ticket/33 https://bugzilla.redhat.com/show_bug.cgi?id=549294
+1 −1 · 1 file changed
-
main.cc+1 −1
@@ -491,7 +491,7 @@ class AdvancedHandler : public Handler { } public: static Handler *create(RStroke s, RTriple e, guint b1, guint b2, RPreStroke replay) { - if (stroke_action) + if (stroke_action && s) return new AdvancedStrokeActionHandler(s, e); else return new AdvancedHandler(s, e, b1, b2, replay);