[Kst] extragear/graphics/kst/kst
Andrew Walker
arwalker at sumusltd.com
Wed Jun 15 19:20:48 CEST 2005
SVN commit 425825 by arwalker:
Prevent crash when attempting to drag-drop from one Kst instance to another. Applies to plots and graphic objects.
M +2 -2 kst2dplot.cpp
--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #425824:425825
@@ -5658,7 +5658,7 @@
setHasFocus(true);
}
- if (e->source() != view) {
+ if (e->source() && e->source() != view) {
static_cast<KstViewWidget*>(e->source())->paint();
}
@@ -5722,7 +5722,7 @@
setHasFocus(true);
}
- if (e->source() != view) {
+ if (e->source() && e->source() != view) {
static_cast<KstViewWidget*>(e->source())->paint();
}
More information about the Kst
mailing list