diff --git a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp index 5013e145..e913585d 100644 --- a/src/qtgui/rclmain_w.cpp +++ b/src/qtgui/rclmain_w.cpp @@ -938,8 +938,12 @@ void RclMain::showIndexSched(bool modal) connect(indexSched->cronCLB, SIGNAL(clicked()), this, SLOT(execCronTool())); if (theconfig && theconfig->isDefaultConfig()) { +#ifdef RCL_MONITOR connect(indexSched->rtidxCLB, SIGNAL(clicked()), this, SLOT(execRTITool())); +#else + indexSched->rtidxCLB->setEnabled(false); +#endif } else { indexSched->rtidxCLB->setEnabled(false); }