Сделал сворачивание через меню настроек.
This commit is contained in:
@@ -85,9 +85,9 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
|
||||
SwitchScreen(Global.db.settings.get(SettingName.SmallScreen).toBoolean());
|
||||
RefreshTabsNames();
|
||||
//--
|
||||
UI.mainMenuBar.RightECButton.Switch(Global.properties.collapseProjectTrees);
|
||||
if (Global.properties.collapseProjectTrees)
|
||||
CollapseProjectTrees();
|
||||
//--
|
||||
}
|
||||
@Override
|
||||
public void SaveSplitters() {
|
||||
@@ -306,15 +306,4 @@ public class ProjectForm implements FormWithSplitters, ProjectWindow {
|
||||
projectBackground.add(SC3);
|
||||
projectBackground.updateUI();
|
||||
}
|
||||
@Override
|
||||
public void SwitchProjectTrees() {
|
||||
if (Global.properties.collapseProjectTrees)
|
||||
ExpandProjectTrees();
|
||||
else
|
||||
CollapseProjectTrees();
|
||||
//---------------
|
||||
Global.properties.collapseProjectTrees =!Global.properties.collapseProjectTrees;
|
||||
Global.properties.Update();
|
||||
UI.mainMenuBar.RightECButton.Switch(Global.properties.collapseProjectTrees);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user