mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 18:10:35 +00:00
Close IV when opening URL in the browser.
This commit is contained in:
parent
f6b9702b52
commit
a118d3d848
@ -833,6 +833,7 @@ void Instance::show(
|
||||
break;
|
||||
case Type::OpenLinkExternal:
|
||||
QDesktopServices::openUrl(event.url);
|
||||
closeAll();
|
||||
break;
|
||||
case Type::OpenMedia:
|
||||
if (const auto window = Core::App().activeWindow()) {
|
||||
|
Loading…
Reference in New Issue
Block a user