update which actually let's you compile, but doesn't properly save an item after renaming it
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#include "NotificationPage.hpp"
|
||||
|
||||
#include "Application.hpp"
|
||||
#include "controllers/notifications/NotificationController.hpp"
|
||||
#include "controllers/notifications/NotificationModel.hpp"
|
||||
#include "singletons/Settings.hpp"
|
||||
#include "src/controllers/notifications/NotificationController.hpp"
|
||||
#include "util/LayoutCreator.hpp"
|
||||
#include "widgets/helper/EditableModelView.hpp"
|
||||
|
||||
@@ -57,7 +58,8 @@ NotificationPage::NotificationPage()
|
||||
});
|
||||
|
||||
view->addButtonPressed.connect([] {
|
||||
getApp()->notifications->addChannelNotification("channel");
|
||||
getApp()->notifications->notificationVector.appendItem(
|
||||
"channel");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user