mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-42987 - IAE: HgUtil.removePasswordIfNeeded
*If there is no default path the dialog push path shouldn't be updated.
This commit is contained in:
@@ -132,8 +132,10 @@ public class HgPushDialog extends DialogWrapper {
|
||||
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
updateRepositoryUrlText(HgUtil.removePasswordIfNeeded(defaultPath));
|
||||
myCurrentRepositoryUrl = defaultPath;
|
||||
if (defaultPath != null) {
|
||||
updateRepositoryUrlText(HgUtil.removePasswordIfNeeded(defaultPath));
|
||||
myCurrentRepositoryUrl = defaultPath;
|
||||
}
|
||||
updateBranchComboBox(branches);
|
||||
}
|
||||
}, ModalityState.stateForComponent(getRootPane()));
|
||||
|
||||
Reference in New Issue
Block a user