Mercurial > hg > svgui
diff widgets/Pane.cpp @ 101:0f36cdf407a6 sv1-v0.9rc1
* Make vertical scale alignment modes work in note layer as well as time-value
layer, and several significant fixes to it
* Make it possible to draw notes properly on the note layer
* Show units (and frequencies etc in note layer's case) in the time-value and
note layer description boxes
* Minor fix to item edit dialog layout
* Some minor menu rearrangement
* Comment out a lot of debug output
* Add SV website and reference URLs to Help menu, and add code to (attempt to)
open them in the user's preferred browser
author | Chris Cannam |
---|---|
date | Fri, 12 May 2006 14:40:43 +0000 |
parents | 453f7da3534e |
children | 8dfa20f1c70a |
line wrap: on
line diff
--- a/widgets/Pane.cpp Thu May 11 15:02:14 2006 +0000 +++ b/widgets/Pane.cpp Fri May 12 14:40:43 2006 +0000 @@ -839,7 +839,7 @@ return; } - std::cerr << "mouseDoubleClickEvent" << std::endl; +// std::cerr << "mouseDoubleClickEvent" << std::endl; m_clickPos = e->pos(); m_clickedInRange = true; @@ -849,7 +849,8 @@ ViewManager::ToolMode mode = ViewManager::NavigateMode; if (m_manager) mode = m_manager->getToolMode(); - if (mode == ViewManager::EditMode) { + if (mode == ViewManager::NavigateMode || + mode == ViewManager::EditMode) { Layer *layer = getSelectedLayer(); if (layer && layer->isLayerEditable()) { @@ -1013,7 +1014,7 @@ Pane::toolModeChanged() { ViewManager::ToolMode mode = m_manager->getToolMode(); - std::cerr << "Pane::toolModeChanged(" << mode << ")" << std::endl; +// std::cerr << "Pane::toolModeChanged(" << mode << ")" << std::endl; switch (mode) {