Kapiainen / Lauhdutin

A Rainmeter skin for launching games.
MIT License
67 stars 8 forks source link

Fixed a bug when COMPONENTS doesn't exist #136

Closed BanCrash closed 6 years ago

BanCrash commented 6 years ago

Regarding my previous PR I found an issue when COMPONENTS variable isn't initialized, so now will check if COMPONENTS exists, and if not will assign "false" value to the previous added variables.

This issue happened when middle-click on filter icon. This commit doesn't change the functioning of the search function.

Kapiainen commented 6 years ago

I just pushed a commit that moves the new variable declarations to the Library class' constructor instead of declaring the variables each time that the filter method is called.

BanCrash commented 6 years ago

Sounds better indeed. Thanks!