bring window to the front when show clicked

This commit is contained in:
Nikita Galaiko 2023-02-21 14:37:52 +01:00
parent 8f49f71c49
commit b4433044f9
No known key found for this signature in database
GPG Key ID: EBAB54E845BA519D

View File

@ -349,6 +349,7 @@ fn main() {
.unwrap();
} else {
main_window.show().unwrap();
main_window.set_focus().unwrap();
item_handle
.set_title(format!("Hide {}", app_title()))
.unwrap();