Skip to content

Commit

Permalink
Mark layer ACL tier actions checkable
Browse files Browse the repository at this point in the history
Because they get checked to show their state.
  • Loading branch information
askmeaboutlo0m committed Feb 23, 2025
1 parent 6d6611e commit cd048fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Unreleased Version 2.2.2-pre
* Server Fix: Remove browser users when a session disables browser access. Thanks Bluestrings for reporting.
* Server Feature: Add a separate permission for hosting via browser and whether to take this permission from ext-auth. This also fixes the issue where it would ask you to log in when trying to host from the browser, just to then tell you that you're not allowed to do so anyway. Thanks Bluestrings for suggesting.
* Removed Feature: Username lists in external session announcements. They were never used.
* Fix: Show current tier in the layer permissions menu again. Thanks Meiren for reporting.

2025-02-12 Version 2.2.2-beta.5
* Feature: Color circle dock with gamut masks, available through View > Docks > Color Circle. Similar to Krita's Artistic Color Selector and MyPaint's HSV/HCY Wheel.
Expand Down
1 change: 1 addition & 0 deletions src/desktop/docks/layeraclmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ LayerAclMenu::LayerAclMenu(QWidget *parent)
for(QPair<QString, int> p : pairs) {
QAction *action = m_tiers->addAction(p.first);
action->setProperty("userTier", p.second);
action->setCheckable(true);
connect(action, &QAction::triggered, this, [this, tier = p.second] {
emit layerAccessTierChange(tier);
});
Expand Down

0 comments on commit cd048fe

Please sign in to comment.