mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show both run configurations in context menu if no one is preferred
fixed PY-10488 Doctest Test Runner: missing default run configuration for module level doctests
This commit is contained in:
@@ -126,7 +126,7 @@ class PreferredProducerFind {
|
||||
final ConfigurationFromContext first = configurationsFromContext.get(0);
|
||||
for (Iterator<ConfigurationFromContext> it = configurationsFromContext.iterator(); it.hasNext();) {
|
||||
ConfigurationFromContext producer = it.next();
|
||||
if (producer != first && ConfigurationFromContext.COMPARATOR.compare(producer, first) >= 0) {
|
||||
if (producer != first && ConfigurationFromContext.COMPARATOR.compare(producer, first) > 0) {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user