mirror of https://github.com/procxx/kepka.git
Added ability to send not loaded GIFs with Ctrl key.
This commit is contained in:
parent
1dd461b24a
commit
cf45b0d317
|
@ -358,7 +358,8 @@ void GifsListWidget::selectInlineResult(int row, int column) {
|
||||||
photo->thumbnail()->loadEvenCancelled(Data::FileOrigin());
|
photo->thumbnail()->loadEvenCancelled(Data::FileOrigin());
|
||||||
}
|
}
|
||||||
} else if (const auto document = item->getDocument()) {
|
} else if (const auto document = item->getDocument()) {
|
||||||
if (document->loaded()) {
|
if (document->loaded()
|
||||||
|
|| QGuiApplication::keyboardModifiers() == Qt::ControlModifier) {
|
||||||
_fileChosen.fire_copy(document);
|
_fileChosen.fire_copy(document);
|
||||||
} else if (document->loading()) {
|
} else if (document->loading()) {
|
||||||
document->cancel();
|
document->cancel();
|
||||||
|
|
Loading…
Reference in New Issue