]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Garux: revert disable existing build process alert
authorThomas Debesse <dev@illwieckz.net>
Mon, 11 Feb 2019 07:30:05 +0000 (08:30 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 11 Feb 2019 07:30:05 +0000 (08:30 +0100)
radiant/watchbsp.cpp

index 50e6456c42ae7ad29563e2339fddd989b4dfe05f..bbae3fab77af86854c191e8d4656fd249961213e 100644 (file)
@@ -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;