mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Qt render bug fixed by patch. Design improvements and fixes.
This commit is contained in:
@@ -298,7 +298,7 @@ void LayerStackWidget::startAnimation(float64 toOpacity) {
|
||||
}
|
||||
|
||||
bool LayerStackWidget::canSetFocus() const {
|
||||
return (layer() || _specialLayer) && !_hiding;
|
||||
return (layer() || _specialLayer || _mainMenu) && !_hiding;
|
||||
}
|
||||
|
||||
void LayerStackWidget::setInnerFocus() {
|
||||
@@ -308,6 +308,8 @@ void LayerStackWidget::setInnerFocus() {
|
||||
l->setInnerFocus();
|
||||
} else if (_specialLayer) {
|
||||
_specialLayer->setInnerFocus();
|
||||
} else if (_mainMenu) {
|
||||
_mainMenu->setInnerFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user