Closed sonic2kk closed 6 months ago
Thanks, makes it a bit more clean!
I don't think this has any impact on performance, purely for readability :-)
Getting rid of the array indexing could even improve the performance by a very tiny bit (we're talking microseconds though :smile:)
Instead of calling
self.ui.tableShortcuts.cellWidget(index, col)
orself.shortcuts[index]
each time inPupguiShortcutDialog#txt_changed
, we can store these with more readable variable names. I don't think this has any impact on performance, purely for readability :-)Tested with my shortcuts and didn't see any behaviour regressions.