diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 72c9748..09eb1e4 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -14,9 +14,10 @@ MainWindow::MainWindow() : BWindow(BRect(BPoint(0,0),BSize(500.0, 500.0)), "MediaMonitor", - B_TITLED_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS) + B_TITLED_WINDOW, B_AUTO_UPDATE_SIZE_LIMITS | B_QUIT_ON_WINDOW_CLOSE) { SetPulseRate(0); + CenterOnScreen(); _InitInterface(); }