mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-08 05:38:05 +02:00
parent
f2a42a7783
commit
50ce5504da
1 changed files with 1 additions and 1 deletions
|
|
@ -2837,7 +2837,7 @@ std::optional<std::string> CConfigManager::handlePermission(const std::string& c
|
|||
if (mode == PERMISSION_RULE_ALLOW_MODE_UNKNOWN)
|
||||
return "unknown permission allow mode";
|
||||
|
||||
if (m_isFirstLaunch)
|
||||
if (m_isFirstLaunch && g_pDynamicPermissionManager)
|
||||
g_pDynamicPermissionManager->addConfigPermissionRule(std::string(data[0]), type, mode);
|
||||
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue