mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Don't close info settings with changes by click.
This commit is contained in:
@@ -448,6 +448,10 @@ void WrapWidget::addContentSaveButton() {
|
||||
});
|
||||
}
|
||||
|
||||
bool WrapWidget::closeByOutsideClick() const {
|
||||
return !_controller->canSaveChangesNow();
|
||||
}
|
||||
|
||||
void WrapWidget::addProfileCallsButton() {
|
||||
Expects(_topBar != nullptr);
|
||||
|
||||
|
Reference in New Issue
Block a user