comparison base/View.cpp @ 44:701404725897

* Use commands for add/delete pane in main window * Add compound command collection to command history (for add pane, import file etc) * Add hide/show pane and hidden pane list to PaneStack * Various other fixes
author Chris Cannam
date Mon, 13 Mar 2006 17:55:19 +0000
parents b8aae4f883b7
children b11edc8b8ea0
comparison
equal deleted inserted replaced
43:b8aae4f883b7 44:701404725897
152 if (i == 0) return m_propertyContainer; 152 if (i == 0) return m_propertyContainer;
153 return m_layers[i-1]; 153 return m_layers[i-1];
154 } 154 }
155 155
156 void 156 void
157 View::propertyContainerSelected(PropertyContainer *pc) 157 View::propertyContainerSelected(View *client, PropertyContainer *pc)
158 { 158 {
159 if (client != this) return;
160
159 if (pc == m_propertyContainer) { 161 if (pc == m_propertyContainer) {
160 if (m_haveSelectedLayer) { 162 if (m_haveSelectedLayer) {
161 m_haveSelectedLayer = false; 163 m_haveSelectedLayer = false;
162 update(); 164 update();
163 } 165 }