aboutsummaryrefslogtreecommitdiff
path: root/demos/InputMethod/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/InputMethod/main.cpp')
-rw-r--r--demos/InputMethod/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/InputMethod/main.cpp b/demos/InputMethod/main.cpp
index cf42d3c2..430075f4 100644
--- a/demos/InputMethod/main.cpp
+++ b/demos/InputMethod/main.cpp
@@ -23,6 +23,7 @@ struct InputMethodState {
int main() {
IUiApplication* application = bootstrap::CreateUiApplication();
+ application->SetQuitOnAllWindowClosed(true);
auto graphics_factory = application->GetGraphicsFactory();