| 159 | } |
| 160 | |
| 161 | bool CtrlrEditor::isPanelActive(const bool checkRestrictedInstance) |
| 162 | { |
| 163 | if (getActivePanel()) |
| 164 | { |
| 165 | if (checkRestrictedInstance) |
| 166 | { |
| 167 | if (owner.getInstanceMode() == InstanceSingleRestriced) |
| 168 | { |
| 169 | return (false); |
| 170 | } |
| 171 | |
| 172 | return (true); |
| 173 | } |
| 174 | else |
| 175 | { |
| 176 | return (true); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | return (false); |
| 181 | } |
| 182 | |
| 183 | void CtrlrEditor::setMenuBarVisible(const bool shouldBeVisible) |
| 184 | { |
nothing calls this directly
no test coverage detected