diff framework/MainWindowBase.h @ 597:f03bc1d38cac

Make "Select All" select the whole span of everything that exists, not just the main model (toward SF bug #243 Copied Time Instant Layer does not include instant at end of track)
author Chris Cannam
date Thu, 19 Apr 2018 13:17:42 +0100
parents b23bebfdfaba
children 6cdf2afebfd7
line wrap: on
line diff
--- a/framework/MainWindowBase.h	Wed Apr 18 15:19:09 2018 +0100
+++ b/framework/MainWindowBase.h	Thu Apr 19 13:17:42 2018 +0100
@@ -396,6 +396,9 @@
     const WaveFileModel *getMainModel() const;
     void createDocument();
 
+    sv_frame_t getModelsStartFrame() const; // earliest across all views
+    sv_frame_t getModelsEndFrame() const; // latest across all views
+    
     Pane *addPaneToStack();
     Layer *getSnapLayer() const;