Skip to content

Commit

Permalink
Merge pull request #4121 from quadproduction/225-wizz_bug-pop-up-wind…
Browse files Browse the repository at this point in the history
…ow-photoshop

Photoshop: bug with pop-up window on Instance Creator
  • Loading branch information
kalisp committed Nov 23, 2022
2 parents f739809 + 6af4412 commit c77cb05
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def process(self):
if len(selection) > 1:
# Ask user whether to create one image or image per selected
# item.
msg_box = QtWidgets.QMessageBox()
active_window = QtWidgets.QApplication.activeWindow()
msg_box = QtWidgets.QMessageBox(parent=active_window)
msg_box.setIcon(QtWidgets.QMessageBox.Warning)
msg_box.setText(
"Multiple layers selected."
Expand Down Expand Up @@ -102,7 +103,7 @@ def process(self):
if group.long_name:
for directory in group.long_name[::-1]:
name = directory.replace(stub.PUBLISH_ICON, '').\
replace(stub.LOADED_ICON, '')
replace(stub.LOADED_ICON, '')
long_names.append(name)

self.data.update({"subset": subset_name})
Expand Down

0 comments on commit c77cb05

Please sign in to comment.