This commit is contained in:
Matthias Koefferlein 2018-04-11 22:53:55 +02:00
parent 256de9bc84
commit 4acc336d69
1 changed files with 4 additions and 1 deletions

View File

@ -120,7 +120,10 @@ Shapes::operator= (const Shapes &d)
{
if (&d != this) {
clear ();
do_insert (d);
if (! d.empty()) {
invalidate_state ();
do_insert (d);
}
}
return *this;