Browse Source

DialogsDemo: flush output stream after writing to it in saving dialog demo.

tags/2021-05-28
Lukasz Kozakiewicz 7 years ago
parent
commit
202cad8991
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      examples/Demo/Source/Demos/DialogsDemo.cpp

+ 1
- 0
examples/Demo/Source/Demos/DialogsDemo.cpp View File

@@ -357,6 +357,7 @@ private:
auto numWritten = wo->writeFromInputStream (*wi, -1); auto numWritten = wo->writeFromInputStream (*wi, -1);
jassert (numWritten > 0); jassert (numWritten > 0);
ignoreUnused (numWritten); ignoreUnused (numWritten);
wo->flush();
} }
} }
#endif #endif


Loading…
Cancel
Save