mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
Show the chooser when the script is launched
It is a bit confusing for beginners when they run the script and nothing happens. Now, when the script is launched, it shows the chooser
This commit is contained in:
@@ -270,3 +270,8 @@ class idapython_tree_view_t(base_idapython_tree_view_t):
|
||||
self.netnode.supset(idx, repl, SUPVAL_COL0_DATA_TAG)
|
||||
self._dump_items()
|
||||
return [ida_kernwin.Choose.ALL_CHANGED] + sel
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
if __name__ == '__main__':
|
||||
form = idapython_tree_view_t("idapython_tree_view_t test", 100)
|
||||
form.Show()
|
||||
|
||||
Reference in New Issue
Block a user