| 2083 | } |
| 2084 | |
| 2085 | void ImageViewer::ungroupCurrentChannelGroup() { |
| 2086 | if (mCurrentImage) { |
| 2087 | mCurrentImage->ungroup(mCurrentGroup); |
| 2088 | |
| 2089 | // Resets channel group buttons to include the now exploded channels |
| 2090 | selectImage(mCurrentImage); |
| 2091 | } |
| 2092 | |
| 2093 | if (mCurrentReference) { |
| 2094 | mCurrentReference->ungroup(mCurrentGroup); |
| 2095 | selectReference(mCurrentReference); |
| 2096 | } |
| 2097 | } |
| 2098 | |
| 2099 | void ImageViewer::setTonemap(ETonemap tonemap) { |
| 2100 | mImageCanvas->setTonemap(tonemap); |