diff view/View.cpp @ 1044:4e5c1c326794 3.0-integration

Make ViewProxy objects share the ids of their Views; fixes incorrect colour scale drawing
author Chris Cannam
date Tue, 09 Feb 2016 10:59:36 +0000
parents 69c4f8403ebf
children ee01a4062747
line wrap: on
line diff
--- a/view/View.cpp	Thu Feb 04 11:18:08 2016 +0000
+++ b/view/View.cpp	Tue Feb 09 10:59:36 2016 +0000
@@ -51,6 +51,7 @@
 
 View::View(QWidget *w, bool showProgress) :
     QFrame(w),
+    m_id(getNextId()),
     m_centreFrame(0),
     m_zoomLevel(1024),
     m_followPan(true),