aboutsummaryrefslogtreecommitdiff
path: root/ArtistVisibilityCommand.cpp
blob: b442dafc8328123ae0c601a49894fcbc80bdd455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "ArtistVisibilityCommand.h"
#include "ViewController.h"

void ArtistVisibilityCommand::set(bool visible) {
	ViewController & controller = this->get_controller();
	controller.set_artists_visible(visible);
}

void ArtistVisibilityCommand::toggle() {
	ViewController & controller = this->get_controller();
	controller.set_artists_visible(!controller.get_artists_visible());
}