From: Thomas Debesse Date: Mon, 11 Feb 2019 07:30:05 +0000 (+0100) Subject: Garux: revert disable existing build process alert X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ce0ea4bdc1521a3926994077fc104e7a155d299d;p=xonotic%2Fnetradiant.git Garux: revert disable existing build process alert --- 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;