2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Implement simple sub-column for topics list.

This commit is contained in:
John Preston
2022-11-30 10:31:33 +04:00
parent beaea9c57d
commit 5d8a2bc7b7
16 changed files with 321 additions and 182 deletions

View File

@@ -466,6 +466,11 @@ Window::SessionController *Session::tryResolveWindow() const {
return nullptr;
}
}
for (const auto &window : _windows) {
if (window->isPrimary()) {
return window;
}
}
return _windows.front();
}