Commit 55a8d41
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
| |||
78 | 79 |
| |
79 | 80 |
| |
80 | 81 |
| |
| 82 | + | |
81 | 83 |
| |
82 | 84 |
| |
83 | 85 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
| |||
78 | 79 |
| |
79 | 80 |
| |
80 | 81 |
| |
| 82 | + | |
81 | 83 |
| |
82 | 84 |
| |
83 | 85 |
| |
|
6 commit comments
nyalldawson commentedon Feb 23, 2018
@signedav looking really close - please don't forget to replace the bool enabledOnlyWhenEditable argument with a more flexible flags approach!
signedav commentedon Feb 23, 2018
I'll need some more time for the flag approach. Is the total deadline for that reached in 3 minutes or should I do it this afternoon?
nyalldawson commentedon Feb 23, 2018
Can you skip this bool from the python bindings then, so it's not locked into api and we can revise for 3.2?
signedav commentedon Feb 23, 2018
I'm not familiar with the binding, sorry.
Is this the right approach?
And is it sufficient to do it only in the constructors of QgsAction and QgsMapLayerAction or is it needed in every method?
nyalldawson commentedon Feb 23, 2018
In this case you'd do something like
#ifndef SIP_RUN
...original declaration
#else
...declaration missing extra Param
#endif
Then run sipify and the python bindings should be missing the extra argument. I'd just do it for all the constructors with the bool argument.
signedav commentedon Feb 23, 2018
Ok. I'll try that. Thanks.