mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added ability to send not loaded GIFs with Ctrl key.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user