Skip to content

Commit

Permalink
Fixed: IDA crash when restoring desktop widgets
Browse files Browse the repository at this point in the history
The create_desktop_widget notification is meant to only create the widget, not display it.
Thanks to Hex-Rays support!
  • Loading branch information
danigargu committed Jan 21, 2020
1 parent 7317efe commit 65eb1a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dereferencing.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class populate_desktop_hooks_t(idaapi.UI_Hooks):
def create_desktop_widget(self, title, cfg):
if title == REGS_WIDGET_TITLE:
w = RegsFlagsViewer()
w.Show(REGS_WIDGET_TITLE, options=idaapi.PluginForm.WOPN_CENTERED)
w.Show(REGS_WIDGET_TITLE, options=idaapi.PluginForm.WOPN_CREATE_ONLY)
return w.GetWidget()

elif title == STACK_WIDGET_TITLE:
Expand Down
Binary file added dereferencing/.colorizer.py.swp
Binary file not shown.

0 comments on commit 65eb1a1

Please sign in to comment.