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:
@@ -466,6 +466,11 @@ Window::SessionController *Session::tryResolveWindow() const {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
for (const auto &window : _windows) {
|
||||
if (window->isPrimary()) {
|
||||
return window;
|
||||
}
|
||||
}
|
||||
return _windows.front();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user