Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'Display Indicators for current workspace' work when Multi Indicator is turned off #186

Open
BlueGreenMagick opened this issue Nov 10, 2019 · 0 comments

Comments

@BlueGreenMagick
Copy link

BlueGreenMagick commented Nov 10, 2019

Right now, when Display an Indicator for Each Window is not checked, Display indicators/window list items only from current workspace does not work. Right now, it shows an indicator if the first is unchecked and second checked, even when the window is in another workspace. I think it was unintended, to show one indicator if first setting was unchecked.

I think adding in self.ind_ws is None to this line should do the job:

if self.multi_ind is False and self.indicator != IndicatorType.SUBWAY:
num_ind = 1
else:
num_ind = self.get_num_windows(self.ind_ws)

Edit: fixed link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant