Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 917123 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/prefs/SpectrumPrefs.cpp (-1 / +5 lines)
Lines 227-236 void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S) Link Here
227
               mTempSettings.frequencyGain,
227
               mTempSettings.frequencyGain,
228
               8);
228
               8);
229
229
230
            int colorSchemeInt = static_cast<int>(mTempSettings.colorScheme);
231
230
            // i18n-hint Scheme refers to a color scheme for spectrogram colors
232
            // i18n-hint Scheme refers to a color scheme for spectrogram colors
231
            S.Id(ID_COLOR_SCHEME).TieChoice(XC("Sche&me", "spectrum prefs"),
233
            S.Id(ID_COLOR_SCHEME).TieChoice(XC("Sche&me", "spectrum prefs"),
232
               (int&)mTempSettings.colorScheme,
234
               colorSchemeInt,
233
               Msgids( SpectrogramSettings::GetColorSchemeNames() ) );
235
               Msgids( SpectrogramSettings::GetColorSchemeNames() ) );
236
237
            mTempSettings.colorScheme = static_cast<SpectrogramSettings::ColorScheme>(colorSchemeInt);
234
         }
238
         }
235
         S.EndMultiColumn();
239
         S.EndMultiColumn();
236
      }
240
      }

Return to bug 917123