Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 36a83f9ae4 |
1 changed files with 4 additions and 1 deletions
|
|
@ -218,7 +218,10 @@ class _FlowEditorPageState extends State<FlowEditorPage>
|
||||||
// change what the list must show.
|
// change what the list must show.
|
||||||
if (widget.flowsDir != old.flowsDir ||
|
if (widget.flowsDir != old.flowsDir ||
|
||||||
!setEquals(widget.sampleFlowNames, old.sampleFlowNames)) {
|
!setEquals(widget.sampleFlowNames, old.sampleFlowNames)) {
|
||||||
setState(() => _files = _listFiles());
|
final fresh = _listFiles();
|
||||||
|
setState(() {
|
||||||
|
_files = fresh;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue