mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix a crash due to half-hidden media viewer
This commit is contained in:
parent
3da8351522
commit
84ce72ec7a
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ void Launch(const QString &filepath) {
|
||||||
void ShowInFolder(const QString &filepath) {
|
void ShowInFolder(const QString &filepath) {
|
||||||
crl::on_main([=] {
|
crl::on_main([=] {
|
||||||
Ui::PreventDelayedActivation();
|
Ui::PreventDelayedActivation();
|
||||||
if (Platform::IsLinux()) {
|
if (Platform::IsX11()) {
|
||||||
// Hide mediaview to make other apps visible.
|
// Hide mediaview to make other apps visible.
|
||||||
Core::App().hideMediaView();
|
Core::App().hideMediaView();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue