update which actually let's you compile, but doesn't properly save an item after renaming it

This commit is contained in:
apa420
2018-08-10 00:04:50 +02:00
parent 5c6d2f36b5
commit 5437a6dd4d
3 changed files with 30 additions and 3 deletions
@@ -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");
});
}
}