mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-06 21:35:09 +00:00
Fix unsaved changes confirmation check when changing selected script
This commit is contained in:
committed by
Philipp Wolfer
parent
aa2425f229
commit
99be9dbfe5
@@ -757,7 +757,7 @@ class ScriptEditorDialog(PicardDialog):
|
||||
skip_check (bool): Skip the check for unsaved edits. Defaults to False.
|
||||
send_signal (bool, optional): Determines whether the update signal should be emitted. Defaults to True.
|
||||
"""
|
||||
if not self.loading or skip_check or self.unsaved_changes_confirmation():
|
||||
if self.loading or skip_check or self.unsaved_changes_confirmation():
|
||||
script_item = self.get_selected_item()
|
||||
self.ui.script_title.setText(script_item['title'])
|
||||
self.set_script(script_item['script'])
|
||||
|
||||
Reference in New Issue
Block a user