adopt correct default colors and avoid crash due to context menu

This commit is contained in:
Stefan Tröger
2013-08-13 18:47:58 +00:00
parent e88b7c6cb0
commit d92eb7a035
2 changed files with 12 additions and 4 deletions

View File

@@ -83,6 +83,9 @@ public:
//needs to be overridden as we use the modeselection node for on and off and not for
//hide and show in the normal way
virtual bool isShow(void) const;
//avoid unneeded context menu entrys
virtual void setupContextMenu(QMenu* menu, QObject* receiver, const char* member);
private:
//we need two seperate visual representations, as both constraint parts have different