diff --git a/src/urh/controller/MainController.py b/src/urh/controller/MainController.py index 1a0e81599c..e4b81f5bcd 100644 --- a/src/urh/controller/MainController.py +++ b/src/urh/controller/MainController.py @@ -304,7 +304,12 @@ def add_signal(self, signal, group_id=0, index=-1): self.signal_protocol_dict[sig_frame] = pa - sig_frame.refresh(draw_full_signal=True) # protocol is derived here + sig_frame.refresh_signal(draw_full_signal=True) + sig_frame.refresh_signal_information(block=True) + + qApp.processEvents() + sig_frame.show_protocol(refresh=True) + if self.project_manager.read_participants_for_signal(signal, pa.messages): sig_frame.ui.gvSignal.redraw_view() diff --git a/src/urh/controller/widgets/SignalFrame.py b/src/urh/controller/widgets/SignalFrame.py index 4963efba3d..7c87e70e70 100644 --- a/src/urh/controller/widgets/SignalFrame.py +++ b/src/urh/controller/widgets/SignalFrame.py @@ -506,6 +506,9 @@ def restore_protocol_selection(self, sel_start, sel_end, start_message, end_mess def update_protocol(self): self.ui.txtEdProto.setEnabled(False) + self.ui.txtEdProto.setText("Demodulating...") + qApp.processEvents() + self.proto_analyzer.get_protocol_from_signal() def show_protocol(self, old_view=-1, refresh=False):