diff options
author | m32 <grzegorz.makarewicz@gmail.com> | 2022-01-08 02:09:12 +0300 |
---|---|---|
committer | m32 <grzegorz.makarewicz@gmail.com> | 2022-01-08 02:09:12 +0300 |
commit | 1a6676b1ce101aa60193f0e3f48ad548f4b72a97 (patch) | |
tree | 07fb3d3ca3f87c7488976801d9b9bfe1210f391f /python/configs | |
parent | 3cfaee6140ce0052b1f0bf17f9ef360f833acceb (diff) |
SetText simplification
Diffstat (limited to 'python/configs')
-rw-r--r-- | python/configs/plug/plugins/usizer.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/python/configs/plug/plugins/usizer.py b/python/configs/plug/plugins/usizer.py index 12639621..0d53097f 100644 --- a/python/configs/plug/plugins/usizer.py +++ b/python/configs/plug/plugins/usizer.py @@ -23,16 +23,10 @@ class Plugin(PluginBase): if Msg == self.ffic.DN_INITDIALOG: log.debug('INITDIALOG') try: - s = self.s2f("vapath initial") - dlg.SetText(dlg.ID_vapath, self.ffi.cast('LONG_PTR', s)) - log.debug('1') - s = self.s2f("vbpath initial") - dlg.SetText(dlg.ID_vbpath, self.ffi.cast('LONG_PTR', s)) - log.debug('2') + dlg.SetText(dlg.ID_vapath, "vapath initial") + dlg.SetText(dlg.ID_vbpath, "vbpath initial") dlg.Disable(dlg.ID_vbpath) - log.debug('3') dlg.SetCheck(dlg.ID_vallow, 1) - log.debug('4') dlg.SetFocus(dlg.ID_vseconds) except: log.exception('bang') |