no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Current_;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Visual.UI;
|
||||
import _VisualDVM.Utils;
|
||||
@@ -22,10 +22,10 @@ public class DeleteVersion extends Pass<db_project_info> {
|
||||
current = (Current.getVersion() != null) && Current.getVersion().Home.equals(target.Home);
|
||||
return true;
|
||||
} else {
|
||||
if (((target = Current.getVersion()) != null) && (!CommonUI.isActive() ||
|
||||
CommonUI.Warning("Удалить " +
|
||||
if (((target = Current.getVersion()) != null) && (!UI_.isActive() ||
|
||||
UI_.Warning("Удалить " +
|
||||
((Current.HasProject() && target.Home.equals(Current.getProject().Home)) ? "текущий проект" : "версию ")
|
||||
+ CommonUtils.Brackets(target.name)))) {
|
||||
+ Utils_.Brackets(target.name)))) {
|
||||
current = true;
|
||||
return true;
|
||||
}
|
||||
@@ -40,7 +40,7 @@ public class DeleteVersion extends Pass<db_project_info> {
|
||||
if ((Current.getProject().Home.getAbsolutePath().startsWith(target.Home.getAbsolutePath())))
|
||||
passes.get(PassCode.CloseCurrentProject).Do();
|
||||
}
|
||||
if (CommonUI.isActive()) {
|
||||
if (UI_.isActive()) {
|
||||
UI.getVersionsWindow().RemoveVersionFromComparison(target);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user