mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
parent
5e233dab47
commit
1963fca7d3
@ -2706,7 +2706,9 @@ bool MainWidget::eventFilter(QObject *o, QEvent *e) {
|
||||
}
|
||||
} else if (e->type() == QEvent::MouseButtonPress) {
|
||||
if (static_cast<QMouseEvent*>(e)->button() == Qt::BackButton) {
|
||||
handleHistoryBack();
|
||||
if (!Core::App().hideMediaView()) {
|
||||
handleHistoryBack();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
} else if (e->type() == QEvent::Wheel) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user