Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

Fixing image pasting in qt5 (#563) #567

Merged
merged 1 commit into from
Apr 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scudcloud/resources/scudcloud.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions sources/scudcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ ScudCloud = {
// Let's really check if image_44 is ready (Fixes #554)
if('undefined'!= TS && TS.model && TS.model.team && TS.model.team.icon && TS.model.team.icon.image_44){
desktop.populate(JSON.stringify({'channels': ScudCloud.listChannels(), 'teams': ScudCloud.listTeams(), 'icon': TS.model.team.icon.image_44}));
// Restoring image pasting into message input (Fixes #563)
document.querySelector(".ql-editor").addEventListener('paste', desktop.pasted);
} else {
var max = 1000;
var min = 100;
Expand Down