From 990276740afafeb69f64b01050a99f113bb89fa6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 1 May 2012 14:52:54 +0000 Subject: Add beginning of NxWM NxConsole application git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4681 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/nxwm/src/ctaskbar.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'NxWidgets/nxwm/src/ctaskbar.cxx') diff --git a/NxWidgets/nxwm/src/ctaskbar.cxx b/NxWidgets/nxwm/src/ctaskbar.cxx index 3791ee0f6..8d2907266 100644 --- a/NxWidgets/nxwm/src/ctaskbar.cxx +++ b/NxWidgets/nxwm/src/ctaskbar.cxx @@ -267,7 +267,12 @@ bool CTaskbar::startApplication(IApplication *app, bool minimized) // Then start the application (whatever that means) - app->run(); + if (!app->run()) + { + stopApplication(app); + return false; + } + return true; } -- cgit v1.2.3