mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
0.6.2 version, context menus fixed, image documents view in overlay added
This commit is contained in:
@@ -588,6 +588,13 @@ void Window::showPhoto(PhotoData *photo, PeerData *peer) {
|
||||
_mediaView->setFocus();
|
||||
}
|
||||
|
||||
void Window::showDocument(DocumentData *doc, HistoryItem *item) {
|
||||
layerHidden();
|
||||
_mediaView->showDocument(doc, item);
|
||||
_mediaView->activateWindow();
|
||||
_mediaView->setFocus();
|
||||
}
|
||||
|
||||
void Window::showLayer(LayeredWidget *w) {
|
||||
layerHidden();
|
||||
layerBG = new BackgroundWidget(this, w);
|
||||
|
Reference in New Issue
Block a user