aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 1bd3fb5..cb52066 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -719,6 +719,13 @@ void Toolbar::toggleHidden() {
719 719
720} 720}
721 721
722void Toolbar::toggleAboveDock() {
723 if (m_layeritem.getLayerNum() == m_rc_layernum->getNum())
724 m_layeritem.moveToLayer(ResourceLayer::ABOVE_DOCK);
725 else
726 m_layeritem.moveToLayer(m_rc_layernum->getNum());
727}
728
722void Toolbar::moveToLayer(int layernum) { 729void Toolbar::moveToLayer(int layernum) {
723 m_layeritem.moveToLayer(layernum); 730 m_layeritem.moveToLayer(layernum);
724 *m_rc_layernum = layernum; 731 *m_rc_layernum = layernum;