mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Added ability to send not loaded GIFs with Ctrl key.
This commit is contained in:
parent
1dd461b24a
commit
cf45b0d317
1 changed files with 2 additions and 1 deletions
|
@ -358,7 +358,8 @@ void GifsListWidget::selectInlineResult(int row, int column) {
|
|||
photo->thumbnail()->loadEvenCancelled(Data::FileOrigin());
|
||||
}
|
||||
} else if (const auto document = item->getDocument()) {
|
||||
if (document->loaded()) {
|
||||
if (document->loaded()
|
||||
|| QGuiApplication::keyboardModifiers() == Qt::ControlModifier) {
|
||||
_fileChosen.fire_copy(document);
|
||||
} else if (document->loading()) {
|
||||
document->cancel();
|
||||
|
|
Loading…
Add table
Reference in a new issue