From ce0ea4bdc1521a3926994077fc104e7a155d299d Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 11 Feb 2019 08:30:05 +0100 Subject: [PATCH] Garux: revert disable existing build process alert --- radiant/watchbsp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radiant/watchbsp.cpp b/radiant/watchbsp.cpp index 50e6456c..bbae3fab 100644 --- a/radiant/watchbsp.cpp +++ b/radiant/watchbsp.cpp @@ -774,11 +774,11 @@ void CWatchBSP::DoMonitoringLoop( GPtrArray *pCmd, const char *sBSPName ){ if ( m_eState != EIdle ) { globalOutputStream() << "WatchBSP got a monitoring request while not idling...\n"; // prompt the user, should we cancel the current process and go ahead? -// if ( ui::alert( MainFrame_getWindow(), "I am already monitoring a Build process.\nDo you want me to override and start a new compilation?", -// "Build process monitoring", ui::alert_type::YESNO ) == ui::alert_response::YES ) { + if ( ui::alert( MainFrame_getWindow(), "I am already monitoring a Build process.\nDo you want me to override and start a new compilation?", + "Build process monitoring", ui::alert_type::YESNO ) == ui::alert_response::YES ) { // disconnect and set EIdle state Reset(); -// } + } } m_pCmd = str_ptr_array_clone( pCmd ); m_iCurrentStep = 0; -- 2.39.2