add warning message

This commit is contained in:
Sébastien Loriot 2014-07-17 16:54:38 +02:00
parent b73ce551f7
commit 788f8def91
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ void Polyhedron_demo_orient_soup_plugin::orient()
}
QApplication::restoreOverrideCursor();
}
else{
messages->warning(tr("This function is only applicable on polygon soups."));
}
}
}