mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: do not include initially excluded files in commit dialog
We update inclusion states in MultipleLocalChangeListsBrowser.setIncludedChanges, so exclusion markers in LST should be reset before ChangesBrowser initialisation.
This commit is contained in:
+2
-2
@@ -305,6 +305,8 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj
|
||||
myCommitMessageArea.setChangeList(changeList);
|
||||
}
|
||||
else {
|
||||
LineStatusTrackerManager.getInstanceImpl(myProject).resetExcludedFromCommitMarkers();
|
||||
|
||||
MultipleLocalChangeListsBrowser browser = new MultipleLocalChangeListsBrowser(project, true, true, myShowVcsCommit);
|
||||
myBrowser = browser;
|
||||
|
||||
@@ -329,8 +331,6 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj
|
||||
browser.getViewer().setKeepTreeState(true);
|
||||
}
|
||||
|
||||
LineStatusTrackerManager.getInstanceImpl(myProject).resetExcludedFromCommitMarkers();
|
||||
|
||||
myChangesInfoCalculator = new ChangeInfoCalculator();
|
||||
myLegend = new CommitLegendPanel(myChangesInfoCalculator);
|
||||
BorderLayoutPanel legendPanel = JBUI.Panels.simplePanel().addToRight(myLegend.getComponent());
|
||||
|
||||
Reference in New Issue
Block a user