mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +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) {
|
||||
crl::on_main([=] {
|
||||
Ui::PreventDelayedActivation();
|
||||
if (Platform::IsLinux()) {
|
||||
if (Platform::IsX11()) {
|
||||
// Hide mediaview to make other apps visible.
|
||||
Core::App().hideMediaView();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue