Accidentally changed .desktop applicationb association and forgot what was the default

Hello so I wanted to install Tor browser and accidentally clicked on always open with Kwrite. I tried removing any associations but now I dont know which one was the right app to open Tor with.

I assume when you say “clicked on always open” you mean you ticked the Do not ask again checkbox that pops up when you double-click on a .desktop file?

If so, the fix is to go to Settings > Configure Dolphin > General > Confirmations and change the When opening an executable file setting (which presumably will be set to Open in application) to either Always ask or Run script if that’s what you want it to do.