diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp
index b9ed94c0ce0369d7b1e0a931722402ed45be1dab..9be74a556f9151431dee10c24372351cd6702599 100644 (file)
--- a/src/widgets/icon.cpp
+++ b/src/widgets/icon.cpp
}
/* This is in document coordinates, i.e. pixels */
- if ( dbox ) {
+ if ( dbox && !dbox->isEmpty() ) {
NRGC gc(NULL);
/* Update to renderable state */
double sf = 1.0;