Jacalz / rymdport

Cross-platform application for easy encrypted file, folder, and text sharing between devices.
https://rymdport.github.io/
GNU General Public License v3.0
1.1k stars 57 forks source link

Refocus main window after sending #85

Closed Jacalz closed 1 year ago

Jacalz commented 1 year ago

Checklist

Is your feature request related to a problem?

User might not have the main window focused but needs to see the code using it. Without this, they need to bring it forward themselves.

Describe the solution you'd like to see.

Call window.Focus() on main window.

Jacalz commented 1 year ago

I don't know if we want to actually re-focus the window when the window is closed. It might be useful but also slightly intrusive to what the user wants? Either way, the window is now refocused after sending text and that was the most important piece of this issue.