1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Remove custom flag from Quick spell panel

This commit is contained in:
Ivan Savenko
2025-06-19 12:19:24 +03:00
parent ae93cbde91
commit 14a3f5a004
5 changed files with 10 additions and 12 deletions

View File

@@ -73,6 +73,9 @@ public:
void disable();
/// activates if needed, all activity enabled (Warning: may not be symmetric with disable if recActions was limited!)
void enable();
/// returns true if element was disabled via disable() call
bool isDisabled();
/// deactivates or activates UI element based on flag
void setEnabled(bool on);