summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/mainwindow.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp
index 6f3f255..5ba4c8e 100644
--- a/noncore/graphics/opie-eye/gui/mainwindow.cpp
+++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp
@@ -162,16 +162,19 @@ void PMainWindow::slotRotateToggled(bool how)
}
}
void PMainWindow::slotScaleToggled(bool how)
{
autoScale = !how;
+ if (!how) {
+ autoRotate = how;
+ }
if (m_disp) {
- m_disp->setAutoScale(autoScale);
+ m_disp->setAutoScaleRotate(autoScale,autoRotate);
}
- if (!autoScale && autoRotate) {
+ if (!autoScale) {
rotateButton->setOn(false);
}
rotateButton->setEnabled(!how);
}
void PMainWindow::slotConfig() {