[us-commits] r2794 - trunk/programs/us_com_project

svn at svn.aucsolutions.com svn at svn.aucsolutions.com
Fri Jul 19 22:32:39 MDT 2019


Author: alexey
Date: 2019-07-20 04:32:37 +0000 (Sat, 20 Jul 2019)
New Revision: 2794

Modified:
   trunk/programs/us_com_project/us_com_project_gui.cpp
Log:
More updates on autoflow...



Modified: trunk/programs/us_com_project/us_com_project_gui.cpp
===================================================================
--- trunk/programs/us_com_project/us_com_project_gui.cpp	2019-07-20 02:38:26 UTC (rev 2793)
+++ trunk/programs/us_com_project/us_com_project_gui.cpp	2019-07-20 04:32:37 UTC (rev 2794)
@@ -548,7 +548,10 @@
 void US_ComProjectMain::close_all( void )
 {
   tabWidget->setCurrentIndex( 0 );   
-  epanInit  ->initAutoflowPanel();
+  //epanInit  ->initAutoflowPanel();  //DO NOT Duplicate - was called in previous line while changing Tab!!!
+  qDebug() << "XPN viwer closed!";
+  qApp->processEvents();
+  
 
   //qDebug() << "CLOSING PROGRAM !!!";
   //close();
@@ -925,8 +928,8 @@
 
   if ( autoflowdata.size() < 1 )
     {
+      pdiag_autoflow->reject();
       pdiag_autoflow->close();
-      pdiag_autoflow->close();
       qApp->processEvents();
       
       qDebug() << "Was pdiag closed ?? ";
@@ -935,7 +938,7 @@
       
       QMessageBox * msg_norec_del = new QMessageBox;
       msg_norec_del->setIcon(QMessageBox::Information);
-      msg_norec_del->setText(tr( "There are no Optima runs to follow.<br><br>"
+      msg_norec_del->setText(tr( "There are no Optima runs to follow (from update_autoflow_data()).<br><br>"
 			     "You will be switched to <b>Experiment</b> stage to design and submit new protocol."
 			     ));
       msg_norec_del->exec();



More information about the us-commits mailing list