Fix process not cleanly exiting when it was supposed to
This commit is contained in:
parent
26434a9123
commit
6574888344
4 changed files with 32 additions and 7 deletions
|
@ -21,6 +21,26 @@ class ModManagerState extends State<ModManager> {
|
|||
appBar: AppBar(
|
||||
title: Text("Conan Exiles Server Manager - Mod Manager"),
|
||||
backgroundColor: Color.fromARGB(255, 100, 0, 0),
|
||||
actions: [
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
for (Mod M in settings.inst!.mods) {
|
||||
M.enabled = false;
|
||||
}
|
||||
|
||||
setState(() {});
|
||||
},
|
||||
icon: Icon(Icons.swipe_down)),
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
for (Mod M in settings.inst!.mods) {
|
||||
M.enabled = true;
|
||||
}
|
||||
|
||||
setState(() {});
|
||||
},
|
||||
icon: Icon(Icons.swipe_up))
|
||||
],
|
||||
),
|
||||
body: ReorderableListView.builder(
|
||||
onReorder: (oldIndex, newIndex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue