diff --git a/backends/ui/gtk/main_window.cpp b/backends/ui/gtk/main_window.cpp index a037b9f..3bcbf83 100644 --- a/backends/ui/gtk/main_window.cpp +++ b/backends/ui/gtk/main_window.cpp @@ -68,7 +68,7 @@ void MainWindow::update_file(optional new_file) { } } stream_selection_box.signal_row_selected().connect([=,this](auto *row) { - if (row->get_data(Glib::Quark("id")) == nullptr) { + if (row == nullptr || row->get_data(Glib::Quark("id")) == nullptr) { return; } this->playback->play_stream(*(int*)row->get_data(Glib::Quark("id")));