Backed out changeset: 159f9e7014f8

This commit is contained in:
Oliver Duis
2012-05-06 23:04:47 +02:00
parent 1483ecb47c
commit 05226a2875
125 changed files with 747 additions and 750 deletions

View File

@@ -164,7 +164,7 @@ void HistogramPanel::resized (Gtk::Allocation& req) {
histogramArea->renderHistogram ();
histogramArea->queue_draw ();
if (histogramRGBArea->getFreeze()) {
if (histogramRGBArea->getFreeze()==true) {
histogramRGBArea->updateFreeze(false);
// set histogramRGBArea invalid;
histogramRGBArea->renderRGBMarks(-1, -1, -1);
@@ -231,10 +231,10 @@ void HistogramPanel::setHistRGBInvalid () {
// "Freeze" is not a button, but a RMB-click, so this is not in the RGBV-Toggle method
void HistogramPanel::toggleFreeze () {
if (histogramRGBArea->getFreeze()) {
if (histogramRGBArea->getFreeze()==true) {
histogramRGBArea->updateFreeze(false);
}
else if (histogramRGBArea->getShow()) {
else if (histogramRGBArea->getShow()==true) {
histogramRGBArea->updateFreeze(true);
}
return;