[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Wed Oct 12 00:54:02 CEST 2005
SVN commit 469679 by staikos:
eliminate some repaints with Zoom Previous
M +6 -1 kst2dplot.cpp
--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #469678:469679
@@ -4971,7 +4971,12 @@
setDirty();
break;
case Key_R:
- zoomPrev(view);
+ if (_plotScaleList.count() <= 1) {
+ // Don't paint
+ handled = false;
+ } else {
+ zoomPrev(view);
+ }
break;
case Key_S:
zoomSpikeInsensitiveMax(view);
More information about the Kst
mailing list