mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Close IV when opening URL in the browser.
This commit is contained in:
parent
f6b9702b52
commit
a118d3d848
1 changed files with 1 additions and 0 deletions
|
@ -833,6 +833,7 @@ void Instance::show(
|
||||||
break;
|
break;
|
||||||
case Type::OpenLinkExternal:
|
case Type::OpenLinkExternal:
|
||||||
QDesktopServices::openUrl(event.url);
|
QDesktopServices::openUrl(event.url);
|
||||||
|
closeAll();
|
||||||
break;
|
break;
|
||||||
case Type::OpenMedia:
|
case Type::OpenMedia:
|
||||||
if (const auto window = Core::App().activeWindow()) {
|
if (const auto window = Core::App().activeWindow()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue