SVN: select branch popup to be cancellable after branch refresh

This commit is contained in:
irengrig
2011-05-18 13:42:09 +04:00
parent 5e394342ba
commit df4eb0fdc1
@@ -244,7 +244,12 @@ public class SelectBranchPopup {
.setItemChoosenCallback(new Runnable() {
public void run() {
if (REFRESH_MESSAGE.equals(branchList.getSelectedValue())) {
showBranchPopup(selectedValue, false);
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
showBranchPopup(selectedValue, false);
}
});
return;
}
SvnBranchItem item = (SvnBranchItem)branchList.getSelectedValue();