Skip to content

Commit 58f1260

Browse files
committed
bugfix: some IDA 7 users (AUTOIMPORT_COMPAT_IDA695=NO) could not save compositions
1 parent d39f07c commit 58f1260

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

plugin/lighthouse/composer/shell.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -582,14 +582,14 @@ def _accept_composition(self):
582582
# composition name
583583
#
584584

585-
coverage_name = idaapi.askstr(
586-
0,
587-
str("COMP_%s" % self.text),
588-
"Save composition as..."
585+
ok, coverage_name = prompt_string(
586+
"Composition Name:",
587+
"Please enter a name for this composition",
588+
"COMP_%s" % self.text
589589
)
590590

591591
# the user did not enter a coverage name or hit cancel - abort the save
592-
if not coverage_name:
592+
if not (ok and coverage_name):
593593
return
594594

595595
#

0 commit comments

Comments
 (0)