Add function to check if the dialog box to configure the sequence parameters is needed

This commit is contained in:
jfmcarreira committed 2014-01-31 01:54:39 +00:00
1 parent 8f46cf8a5d
commit 73fbd05488
3 files changed
+20 -2

No files matched your search

+5 -2
View File
@@ -61,9 +61,12 @@ bool ImageInterface::loadFile( const QString &fileName )
{
ConfigureFormatDialog formatDialog( this );
if( formatDialog.exec() == QDialog::Rejected )
if( m_currStream.needFormatDialog( fileName ) )
{
return false;
if( formatDialog.exec() == QDialog::Rejected )
{
return false;
}
}
QApplication::setOverrideCursor( Qt::WaitCursor );