rename "current" monitor to "selected"
This commit is contained in:
parent
8e8e1b7614
commit
66939c0c7b
1 changed files with 2 additions and 2 deletions
|
@ -314,12 +314,12 @@ const std::string prefixShow = "show ";
|
||||||
const std::string prefixHide = "hide ";
|
const std::string prefixHide = "hide ";
|
||||||
const std::string prefixToggle = "toggle ";
|
const std::string prefixToggle = "toggle ";
|
||||||
const std::string argAll = "all";
|
const std::string argAll = "all";
|
||||||
const std::string argCurrent = "current";
|
const std::string argSelected = "selected";
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static void updateVisibility(const std::string &name, T updater)
|
static void updateVisibility(const std::string &name, T updater)
|
||||||
{
|
{
|
||||||
auto isCurrent = name == argCurrent;
|
auto isCurrent = name == argSelected;
|
||||||
auto isAll = name == argAll;
|
auto isAll = name == argAll;
|
||||||
for (auto& mon : monitors) {
|
for (auto& mon : monitors) {
|
||||||
if (isAll ||
|
if (isAll ||
|
||||||
|
|
Loading…
Reference in a new issue