Skip to content

Commit 1042e95

Browse files
author
Roberto De Ioris
committed
cleaned up SHeaderRow
1 parent 2e2fe66 commit 1042e95

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Source/UnrealEnginePython/Private/Slate/UEPySHeaderRow.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
#include "UnrealEnginePythonPrivatePCH.h"
42

53
#include "UEPySHeaderRow.h"
@@ -14,9 +12,9 @@ static PyObject *ue_PySHeaderRow_str(ue_PySHeaderRow *self)
1412

1513
static PyObject *py_ue_sheader_row_add_column(ue_PySHeaderRow *self, PyObject * args, PyObject *kwargs) {
1614

15+
char *column_id;
1716
int cell_h_align = 0;
1817
int cell_v_align = 0;
19-
char *column_id;
2018
char *default_label = nullptr;
2119
char *default_tooltip = nullptr;
2220
float fill_width = 0;
@@ -62,7 +60,6 @@ static PyObject *py_ue_sheader_row_add_column(ue_PySHeaderRow *self, PyObject *
6260

6361
s_header_row->AddColumn(column);
6462

65-
6663
Py_INCREF(self);
6764
return (PyObject *)self;
6865
}

0 commit comments

Comments
 (0)