tnitter & calculator: update app.nit clients
[nit.git] / examples / calculator / src / calculator.nit
index 4068f34..c9db316 100644 (file)
@@ -38,7 +38,7 @@ redef class App
                if debug then print "App::on_create"
 
                # Create the main window
-               window = new CalculatorWindow
+               push_window new CalculatorWindow
                super
        end
 end