mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix verbose asking
This commit is contained in:
@@ -61,6 +61,11 @@ public class AndroidResourceFileSafeDeleteProcessor extends SafeDeleteProcessorD
|
||||
public Collection<PsiElement> getAdditionalElementsToDelete(PsiElement element,
|
||||
Collection<PsiElement> allElementsToDelete,
|
||||
boolean askUser) {
|
||||
if (allElementsToDelete.size() > 1) {
|
||||
// todo: support this case (we should ask once)
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
if (askUser) {
|
||||
final int r = Messages
|
||||
.showYesNoDialog(element.getProject(), "Delete alternative resource files for other configurations?",
|
||||
|
||||
Reference in New Issue
Block a user