How to undo "Do not ask again" for running executable files in Dolphin (Kubuntu)?

Solution 1:

Settings > Configure Dolphin > General > Confirmations > When opening an executable file

It may not show the state correctly but on applying changes it should set the state to the selected value.