From https://mail.kde.org/pipermail/umbrello-devel/2018-January/021315.html The source code of an operation can only be changed using the class's Properties window, but not the operation's Properties. Note: In the instructions below don't edit the 'new_operation()' using the Tree View or it will work just fine! How to reproduce? 1. Create a new class in a class diagram 2. Go to the class properties 3. Click on Operations > New Operation... 4. Add some "Source Code" in the Documentation section and click OK 5. Now click on the new_operation()'s Properties and try to change the code you just entered. It wont't get saved. The entered code is only editable in the class's "Properties > Operation Settings > Documentation > Source Code" section.
Git commit 7547fc9a1dbf522c5d4fbeb2b1ab9e0c4e3566e2 by Ralf Habacker. Committed on 27/01/2018 at 14:40. Pushed by habacker into branch 'Applications/17.12'. Fix 'Bug in Source Code Editor' Update source code similar to the documentation in operation page of class property dialog in case the properties of the operation has been updated. https://commits.kde.org/umbrello/7547fc9a1dbf522c5d4fbeb2b1ab9e0c4e3566e2