Skip to content

Commit

Permalink
Fix inheritance hierarchy of LegendWidget in qti.sip declaration
Browse files Browse the repository at this point in the history
It was wrongly stated that it inherits from QObject so that the
Python type was showing up as QWidget & not the leaf class LegendWidget
Refs #7142
  • Loading branch information
martyngigg committed Mar 13, 2014
1 parent 78bff9c commit 122c093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/qti.sip
Expand Up @@ -487,7 +487,7 @@ private:
ImageMarker(const ImageMarker&);
};

class LegendWidget : QObject // : QWidget /PyName=Legend/
class LegendWidget: QWidget
{
%TypeHeaderCode
#include "src/LegendWidget.h"
Expand Down

0 comments on commit 122c093

Please sign in to comment.