2
0
Эх сурвалжийг харах

Merge pull request #6551 from c-schembri/patch-1

Update C# code example
Max Hilbrunner 2 жил өмнө
parent
commit
3b5e316d11

+ 1 - 1
tutorials/inputs/handling_quit_requests.rst

@@ -82,7 +82,7 @@ program termination, you should send the notification yourself:
 
 
  .. code-tab:: csharp
  .. code-tab:: csharp
 
 
-    GetTree().GetRoot().PropagateNotification(NotificationWmCloseRequest)
+    GetTree().Root.PropagateNotification((int)NotificationWmCloseRequest)
 
 
 Sending this notification will inform all nodes about the program termination,
 Sending this notification will inform all nodes about the program termination,
 but will not terminate the program itself *unlike in 3.X*. In order to achieve
 but will not terminate the program itself *unlike in 3.X*. In order to achieve