создание группы из папки.
This commit is contained in:
@@ -32,12 +32,6 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
|
||||
protected boolean needsAnimation() {
|
||||
return true;
|
||||
}
|
||||
void restoreBrowserPath() {
|
||||
String last_dir_home =
|
||||
Global.db.settings.get(SettingName.ProjectsSearchDirectory).Value;
|
||||
if (!last_dir_home.isEmpty())
|
||||
directoryChooser.SetCurrentDirectory(last_dir_home);
|
||||
}
|
||||
boolean needsOpen() {
|
||||
return !Current.HasProject() || !Current.getProject().Home.equals(dir);
|
||||
}
|
||||
@@ -48,7 +42,7 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
|
||||
dir = null;
|
||||
target = null;
|
||||
if (args.length == 0) {
|
||||
restoreBrowserPath();
|
||||
Utils.RestoreSelectedDirectory(directoryChooser);
|
||||
dir = directoryChooser.ShowDialog();
|
||||
} else {
|
||||
Object arg = args[0];
|
||||
|
||||
Reference in New Issue
Block a user