diff widgets/PaneStack.cpp @ 17:0183ebb725ca

* Add ability to create empty layers for editing * Add first basic editing capability (adding points to a time instant layer) * Add various keyboard and mouse shortcuts for navigation &c * Add ability to resize a selection by dragging its edges * Add maximum zoom level
author Chris Cannam
date Thu, 26 Jan 2006 16:15:40 +0000
parents 37b110168acf
children 46d8f5add6f0
line wrap: on
line diff
--- a/widgets/PaneStack.cpp	Thu Jan 26 11:56:09 2006 +0000
+++ b/widgets/PaneStack.cpp	Thu Jan 26 16:15:40 2006 +0000
@@ -190,6 +190,10 @@
 	++i;
 	++j;
     }
+
+    Layer *layer = dynamic_cast<Layer *>(pc);
+    if (layer) emit currentLayerChanged(m_currentPane, layer);
+    else emit currentLayerChanged(m_currentPane, 0);
 }
 
 void