I was getting const errors with a recent gcc. So I removed the const modifer
to Widget::update in the 480x272 GUI. This caused menu_settings.cpp
menuSettings() to complain, because it was being passed a param called
'object' of type pointer to a const T, and then called object->update(),
which is not a const function.
However, the one call site I found to menuSettings() (menu_settings.cpp:224)
is passing currentWidget, which is of type Widget*.
- Adds "rename" to the context menu for categories, it uses the
same code path as the default dblClick handler for the base class.
- Added a separator so the context menu looks more like the one
for models
- Some whitespace changes in mdichild.h, my editor truncates
whitespace on blank lines.
After looking at the Taranis GUI code, I decided to emulate what that
does, which is just skip over the X coord line in the menu if when
curve type is custom and points is <= 2.