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:
Vladimir Krivosheev
2017-04-12 23:30:24 +02:00
parent d54d7082d7
commit 3146f39d1d
@@ -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
}