@@ -301,23 +301,27 @@ void GenericEditor::setDesiredWidth (int width)
301301
302302void GenericEditor::startRecording ()
303303{
304- if (channelSelector != 0 )
305- channelSelector->inactivateRecButtons ();
304+ // now are disabled on acquisition
305+ // if (channelSelector != 0)
306+ // channelSelector->inactivateRecButtons();
306307}
307308
308309void GenericEditor::stopRecording ()
309310{
310- if (channelSelector != 0 )
311- channelSelector->activateRecButtons ();
311+ // if (channelSelector != 0)
312+ // channelSelector->activateRecButtons();
312313}
313314
314315void GenericEditor::editorStartAcquisition ()
315316{
316317 startAcquisition ();
317318 // std::cout << "GenericEditor received message to start acquisition." << std::endl;
318319
319- if (channelSelector != 0 )
320- channelSelector->startAcquisition ();
320+ if (channelSelector != 0 )
321+ {
322+ channelSelector->startAcquisition ();
323+ channelSelector->inactivateRecButtons ();
324+ }
321325
322326 for (int n = 0 ; n < parameterEditors.size (); n++)
323327 {
@@ -335,8 +339,11 @@ void GenericEditor::editorStopAcquisition()
335339{
336340 stopAcquisition ();
337341
338- if (channelSelector != 0 )
339- channelSelector->stopAcquisition ();
342+ if (channelSelector != 0 )
343+ {
344+ channelSelector->stopAcquisition ();
345+ channelSelector->activateRecButtons ();
346+ }
340347
341348 for (int n = 0 ; n < parameterEditors.size (); n++)
342349 {
0 commit comments