2
0
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:
John Preston
2018-09-12 19:14:11 +03:00
parent 83fda73ce3
commit 673fea47bd
5 changed files with 16 additions and 0 deletions

View File

@@ -448,6 +448,10 @@ void WrapWidget::addContentSaveButton() {
});
}
bool WrapWidget::closeByOutsideClick() const {
return !_controller->canSaveChangesNow();
}
void WrapWidget::addProfileCallsButton() {
Expects(_topBar != nullptr);