mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix testUnhidingSchemeWhenConfigurationMadeStable
This hack, introduced recently, not required anymore since we do not do sort alphabetically blindly (only on project / workspace load state)
This commit is contained in:
@@ -297,10 +297,6 @@ class RunManagerImpl(internal val project: Project) : RunManagerEx(), Persistent
|
||||
}
|
||||
idToSettings.put(newId, settings)
|
||||
|
||||
if (!customOrder.isEmpty && !customOrder.contains(settings.uniqueID)) {
|
||||
customOrder.put(settings.uniqueID, customOrder.size())
|
||||
}
|
||||
|
||||
if (existingId == null) {
|
||||
refreshUsagesList(settings)
|
||||
}
|
||||
@@ -853,6 +849,7 @@ class RunManagerImpl(internal val project: Project) : RunManagerEx(), Persistent
|
||||
private fun doMakeStable(settings: RunnerAndConfigurationSettings) {
|
||||
lock.write {
|
||||
recentlyUsedTemporaries.remove(settings.configuration)
|
||||
immutableSortedSettingsList = null
|
||||
if (!customOrder.isEmpty) {
|
||||
isCustomOrderApplied = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user