Create push wizards in CommitJob in UI thread
commitd58c936fa4cc6e1d412a419aa9f931dbd645f7f2
authorThomas Wolf <thomas.wolf@paranor.ch>
Tue, 24 May 2016 18:49:12 +0000 (24 20:49 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 25 May 2016 08:38:11 +0000 (25 10:38 +0200)
tree5f4feea151ab2e23cc98dd68bf70d929ff278f44
parent253cfab6051fc7837a2212f88c98b91702a98f0d
Create push wizards in CommitJob in UI thread

The PushBranchWizard may have an AddRemotePage, which is a
RepositorySelectionPage, which accesses the clipboard in its
constructor. Let's create the wizard already in the UI thread,
as it was before commit af5c88dc.

Bug: 494469
Change-Id: Ifd7383a806becc7db20b2b44b6a67533394d91e5
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/CommitJob.java