Bug report #8847
Some Settings -> Customisation entries blank
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17530|
Per attached, some of the things in the Settings -> Customisation menu items have no text entries saying what they are.
I haven't done an exhaustive check for what is/isn't blank.
#1 Updated by Larry Shaffer almost 8 years ago
- Assignee set to Radim Blazek
- File issue-8847-patch.diff added
The empty entries you are referring to are menu separator actions, which are generally added with QMenu::addSeparator() and not given object names or text labels.
The attached patch strips those from the menu actions tree, since toggling them does not appear to actually work, i.e. not saved or applied with customization settings.
However, a better approach may be to go through the code and capture the addSeparator() functions to a variable and then set the object's name. Then, maybe the separators can be part of customization as well, with maybe the text label generated in Customization as always 'Separator'. A bit of work, though, and may not always be consistently done in the future.
I've assigned Radim to the issue. Maybe he can recommend a better approach.