closes #4: Favorite buttons has been extended with category buttons.
This commit is contained in:
+2
-2
@@ -58,7 +58,7 @@ public:
|
||||
return ret;
|
||||
}
|
||||
|
||||
void save(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
|
||||
virtual void save(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
|
||||
if (!checkPermission(PERM_ADD)) {
|
||||
return;
|
||||
}
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
emit dataChanged();
|
||||
}
|
||||
|
||||
void update(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
|
||||
virtual void update(QSharedPointer<T> entity, qx::QxSession* pSession = nullptr) {
|
||||
if (!checkPermission(PERM_EDIT)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user