Changeset 10909 for fact/tools


Ignore:
Timestamp:
06/03/11 16:21:17 (14 years ago)
Author:
ogrimm
Message:
Magic number not checked for online display
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/Edd/Edd.cc

    r10904 r10909  
    166166  RunHeader *R = RD->RHeader;
    167167
    168   if (R->MagicNum == MAGICNUM_OPEN) {
    169     QMessageBox::warning(this, "Edd Message","Magic number in run header indicates that the file has not been closed properly.",QMessageBox::Ok);
    170   }
    171   if (R->MagicNum == MAGICNUM_ERROR) {
    172     QMessageBox::warning(this, "Edd Message","Magic number in run header indicates that an error occurred while writing the file.",QMessageBox::Ok);
     168  // Magic number warnings not for online display
     169  if (Filename != File.fileName()) {
     170    if (R->MagicNum == MAGICNUM_OPEN) {
     171      QMessageBox::warning(this, "Edd Message","Magic number in run header indicates that the file has not been closed properly.",QMessageBox::Ok);
     172    }
     173    if (R->MagicNum == MAGICNUM_ERROR) {
     174      QMessageBox::warning(this, "Edd Message","Magic number in run header indicates that an error occurred while writing the file.",QMessageBox::Ok);
     175    }
    173176  }
    174177 
Note: See TracChangeset for help on using the changeset viewer.