added updating mechanic

This commit is contained in:
fourtf
2018-06-21 22:02:35 +02:00
parent 2f91e3097a
commit e204dfdb17
10 changed files with 117 additions and 10 deletions
+1 -1
View File
@@ -8,11 +8,11 @@
#include "widgets/helper/editablemodelview.hpp"
#include "widgets/logindialog.hpp"
#include <algorithm>
#include <QDialogButtonBox>
#include <QHeaderView>
#include <QTableView>
#include <QVBoxLayout>
#include <algorithm>
namespace chatterino {
namespace widgets {
+2 -1
View File
@@ -37,7 +37,8 @@ CommandPage::CommandPage()
auto layout = layoutCreator.emplace<QVBoxLayout>().withoutMargin();
auto warning = layout.emplace<QLabel>("The command system will be reworked in the "
"future!\nYour saved commands will get discarded then.");
"future!\nYour saved commands will get discarded then. "
"Deleting commands crashes chatterino right now.");
warning.getElement()->setStyleSheet("color: #f00");
helper::EditableModelView *view =