merge with dev

This commit is contained in:
Desmis
2019-02-20 08:05:33 +01:00
5 changed files with 36 additions and 18 deletions

View File

@@ -730,7 +730,10 @@ void BayerProcess::FrameCountChanged(int n, int frameNum)
entry << i;
imageNumber->append(entry.str());
}
imageNumber->set_active(std::min(frameNum, n - 1));
if (n == 2) {
imageNumber->append(M("TP_RAW_IMAGENUM_SN"));
}
imageNumber->set_active(std::min(frameNum, n == 2 ? n : n - 1));
if (n == 1) {
imageNumberBox->hide();
} else {