Mercurial > hg > sonic-visualiser
diff main/OSCHandler.cpp @ 2435:f40cd7a512d4 spectrogram-export
Start work on spectrogram export code
author | Chris Cannam |
---|---|
date | Mon, 06 Jan 2020 14:49:48 +0000 |
parents | efbf5ecb76b6 |
children | 32dbc311c6d4 |
line wrap: on
line diff
--- a/main/OSCHandler.cpp Thu Dec 12 17:25:51 2019 +0000 +++ b/main/OSCHandler.cpp Mon Jan 06 14:49:48 2020 +0000 @@ -134,7 +134,7 @@ if (currentPane) currentLayer = currentPane->getSelectedLayer(); if (currentLayer) { QString error; - if (!exportLayerTo(currentLayer, path, error)) { + if (!exportLayerTo(currentLayer, currentPane, path, error)) { SVCERR << "OSCHandler: Failed to export current layer to " << path << ": " << error << endl; } } else {