diff options
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 57de638..d03f61b 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -1064,6 +1064,13 @@ void Slit::toggleHidden() { | |||
1064 | } | 1064 | } |
1065 | } | 1065 | } |
1066 | 1066 | ||
1067 | void Slit::toggleAboveDock() { | ||
1068 | if (m_layeritem->getLayerNum() == m_rc_layernum->getNum()) | ||
1069 | m_layeritem->moveToLayer(ResourceLayer::ABOVE_DOCK); | ||
1070 | else | ||
1071 | m_layeritem->moveToLayer(m_rc_layernum->getNum()); | ||
1072 | } | ||
1073 | |||
1067 | void Slit::loadClientList(const char *filename) { | 1074 | void Slit::loadClientList(const char *filename) { |
1068 | if (filename == 0 || filename[0] == '\0') | 1075 | if (filename == 0 || filename[0] == '\0') |
1069 | return; | 1076 | return; |