Setze den Eingabewert für den benutzerdefinierten Pfad immer zurück, unabhängig vom Preset-Typ.
This commit is contained in:
4
main.py
4
main.py
@@ -1663,11 +1663,13 @@ class MainWindow(QMainWindow):
|
|||||||
has_series = preset.get("has_series_template", False)
|
has_series = preset.get("has_series_template", False)
|
||||||
self.series_group.setVisible(has_series)
|
self.series_group.setVisible(has_series)
|
||||||
|
|
||||||
|
# Setze den custom_path_input immer zurück, unabhängig vom Preset-Typ
|
||||||
|
self.custom_path_input.setText(preset.get("custom_path", ""))
|
||||||
|
|
||||||
if has_series:
|
if has_series:
|
||||||
self.series_input.setText(preset.get("series", ""))
|
self.series_input.setText(preset.get("series", ""))
|
||||||
self.season_input.setText(preset.get("season", "1"))
|
self.season_input.setText(preset.get("season", "1"))
|
||||||
self.episode_input.setText(preset.get("episode", "1"))
|
self.episode_input.setText(preset.get("episode", "1"))
|
||||||
self.custom_path_input.setText(preset.get("custom_path", ""))
|
|
||||||
|
|
||||||
self.update_cmd_preview()
|
self.update_cmd_preview()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user