LCXL: Fix uninitialized pointer function
authorRobin Gareus <robin@gareus.org>
Fri, 23 Aug 2019 22:01:06 +0000 (00:01 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 23 Aug 2019 22:01:28 +0000 (00:01 +0200)
See also 026b74e25d3. FilterFunction must point to a valid function.

libs/surfaces/launch_control_xl/launch_control_xl.cc

index 4eb379a639068e81babf08609f6b867de92066ee..f659ea685cfd64c914b92ea4190d17bdbe562708 100644 (file)
@@ -1031,8 +1031,9 @@ LaunchControlXL::filter_stripables(StripableList& strips) const
                case 13:
                        flt = &flt_selected;
                        break;
-               case 14:        // Factory Template 7 behaves strange
-                       break;  // don't map it to anyhting
+               case 14:        // Factory Template 7 behaves strange, don't map it to anyhting
+                       flt = &flt_default;
+                       break;
                case 15:
                        flt = &flt_mains;
                        break;