mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
VCS: changes | local : save splitter proportion in projectClosed(), not in dispose()
This commit is contained in:
@@ -223,6 +223,7 @@ public class ChangesViewManager implements ChangesViewI, JDOMExternalizable, Pro
|
||||
}
|
||||
|
||||
public void projectClosed() {
|
||||
PropertiesComponent.getInstance().setValue(DETAILS_SPLITTER_PROPORTION, String.valueOf(mySplitter.getProportion()));
|
||||
if (myToggleDetailsAction.isSelected(null)) {
|
||||
myListenersForShortDiff.off();
|
||||
}
|
||||
@@ -567,7 +568,6 @@ public class ChangesViewManager implements ChangesViewI, JDOMExternalizable, Pro
|
||||
|
||||
@Override
|
||||
public void disposeComponent() {
|
||||
PropertiesComponent.getInstance().setValue(DETAILS_SPLITTER_PROPORTION, String.valueOf(mySplitter.getProportion()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user