diff --git a/src/aiidalab_qe_vibroscopy/app/widgets/euphonicwidget.py b/src/aiidalab_qe_vibroscopy/app/widgets/euphonicwidget.py index 00024e8..2a3ad09 100644 --- a/src/aiidalab_qe_vibroscopy/app/widgets/euphonicwidget.py +++ b/src/aiidalab_qe_vibroscopy/app/widgets/euphonicwidget.py @@ -201,6 +201,8 @@ def render(self): self.download_widget, ] + self.rendered = True + def _on_reset_uploads_button_clicked(self, change): self.upload_widget.upload_phonopy_yaml.value.clear() self.upload_widget.upload_phonopy_yaml._counter = 0 diff --git a/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_powder_widgets.py b/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_powder_widgets.py index d9c8019..cf218f1 100644 --- a/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_powder_widgets.py +++ b/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_powder_widgets.py @@ -215,6 +215,8 @@ def render(self): ], ) + self.rendered = True + def _on_plot_button_clicked(self, change=None): self.settings_intensity.plot_button.disabled = True self.map_widget._update_plot() diff --git a/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_q_planes_widgets.py b/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_q_planes_widgets.py index 9668473..6fa8a5f 100644 --- a/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_q_planes_widgets.py +++ b/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_q_planes_widgets.py @@ -375,6 +375,8 @@ def render(self): self.settings_intensity, ] + self.rendered = True + def _on_plot_button_clicked(self, change=None): self._model._update_qsection_spectra() diff --git a/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_single_crystal_widgets.py b/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_single_crystal_widgets.py index 01c7906..47e7e85 100644 --- a/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_single_crystal_widgets.py +++ b/src/aiidalab_qe_vibroscopy/utils/euphonic/tab_widgets/euphonic_single_crystal_widgets.py @@ -225,6 +225,8 @@ def render(self): self.settings_intensity, ] + self.rendered = True + def _on_plot_button_clicked(self, change=None): self.settings_intensity.plot_button.disabled = True self.map_widget._update_plot()