Skip to content

Commit

Permalink
DialogsDemo: flush output stream after writing to it in saving dialog…
Browse files Browse the repository at this point in the history
… demo.
  • Loading branch information
lukaszkozakiewicz committed Dec 13, 2017
1 parent bc90a41 commit 202cad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/Demo/Source/Demos/DialogsDemo.cpp
Expand Up @@ -357,6 +357,7 @@ class DialogsDemo : public Component,
auto numWritten = wo->writeFromInputStream (*wi, -1);
jassert (numWritten > 0);
ignoreUnused (numWritten);
wo->flush();
}
}
#endif
Expand Down

0 comments on commit 202cad8

Please sign in to comment.