diff options
author | Rider Linden <rider@lindenlab.com> | 2019-02-22 15:05:13 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-02-22 15:05:13 -0800 |
commit | 0aa46bb013e888d437054bfb31efe5fa1136d1ba (patch) | |
tree | cf36b48b801a57c8c1f6691e7112980d8f9ab1c8 /indra/newview/llfloatereditextdaycycle.cpp | |
parent | 8382cc2f2c2944e8a2a47e30dc22b1eb99ce34cb (diff) | |
parent | 8bebb385fe1f7df22c7fd040eceaaf1b3bcbef75 (diff) |
Merge
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 |