Move settings into a separate JSON file.
This will unfortunately mean losing your commands, but they can be restored by converting the old commands.txt format into the commands.json file Fix #372
This commit is contained in:
@@ -41,7 +41,7 @@ CommandPage::CommandPage()
|
||||
view->setTitles({"Trigger", "Command"});
|
||||
view->getTableView()->horizontalHeader()->setStretchLastSection(true);
|
||||
view->addButtonPressed.connect([] {
|
||||
getApp()->commands->items.appendItem(
|
||||
getApp()->commands->items_.appendItem(
|
||||
Command{"/command", "I made a new command HeyGuys"});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user