From e04242c5faf591f6731e6de86ab404c3519b2ed1 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 21 Aug 2019 15:40:19 +0200 Subject: [PATCH] ctb gui progress call back fix --- .gitignore | 4 ++++ ctbGui/ctbAcquisition.cpp | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d31ff259f..0a79fe941 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,10 @@ build RELEASE.txt Testing/ +ctbDict.cpp +ctbDict.h + + *.pyc */__pycache__/* diff --git a/ctbGui/ctbAcquisition.cpp b/ctbGui/ctbAcquisition.cpp index 1b385fe3e..8246d6af8 100755 --- a/ctbGui/ctbAcquisition.cpp +++ b/ctbGui/ctbAcquisition.cpp @@ -597,12 +597,12 @@ hframe=new TGHorizontalFrame(this, 800,50); acqThread = new TThread("acqThread", ctbAcquisition::ThreadHandle,(void*)this); // acqThread->Run(); - cout <<"Registering progress callback" << endl; - try { - myDet->registerProgressCallback(&progressCallback,(void*)this); - } catch (...) { - cout << "Do nothing for this error" << endl; - } + // cout <<"Registering progress callback" << endl; + // try { + // myDet->registerProgressCallback(&progressCallback,(void*)this); + // } catch (...) { + // cout << "Do nothing for this error" << endl; + // } cout <<"Registering data callback" << endl; try{