diff options
Diffstat (limited to 'indra/newview/llfloatereditextdaycycle.cpp')
-rw-r--r-- | indra/newview/llfloatereditextdaycycle.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/indra/newview/llfloatereditextdaycycle.cpp b/indra/newview/llfloatereditextdaycycle.cpp index 3b148fa89e..18f22bf2d2 100644 --- a/indra/newview/llfloatereditextdaycycle.cpp +++ b/indra/newview/llfloatereditextdaycycle.cpp @@ -838,20 +838,10 @@ void LLFloaterEditExtDayCycle::onCloneTrack() args.append(track); } - if (populated_counter > 1) + if (populated_counter > 0) { doOpenTrackFloater(args); } - else if (populated_counter > 0) - { - for (U32 i = 1; i < LLSettingsDay::TRACK_MAX; i++) - { - if ((!mEditDay->isTrackEmpty(i)) && (i != mCurrentTrack)) - { - onPickerCommitTrackId(i); - } - } - } else { // Should not happen |