Changeset - ba36fde18d58
[Not reviewed]
snapshots
0 1 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-09-29 17:28:07
hy@ozderya.net
do not give error if user canceled snapshot save
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
snapshotview.cpp
Show inline comments
 
@@ -65,6 +65,8 @@ void SnapShotView::save()
 
{
 
    QString fileName = QFileDialog::getSaveFileName(this, tr("Export CSV File"));
 

	
 
    if (fileName.isNull()) return; // user canceled
 

	
 
    // TODO: remove code duplication (MainWindow::onExportCsv)
 
    QSaveFile file(fileName);
 

	
0 comments (0 inline, 0 general)