diff main/MainWindow.cpp @ 2435:f40cd7a512d4 spectrogram-export

Start work on spectrogram export code
author Chris Cannam
date Mon, 06 Jan 2020 14:49:48 +0000
parents b6d0823e41a5
children d811380516f6
line wrap: on
line diff
--- a/main/MainWindow.cpp	Thu Dec 12 17:25:51 2019 +0000
+++ b/main/MainWindow.cpp	Mon Jan 06 14:49:48 2020 +0000
@@ -3022,7 +3022,7 @@
 
     QString error;
 
-    if (!exportLayerTo(layer, path, error)) {
+    if (!exportLayerTo(layer, pane, path, error)) {
         QMessageBox::critical(this, tr("Failed to write file"), error);
     } else {
         m_recentFiles.addFile(path);