We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04a3f05 commit 6920aafCopy full SHA for 6920aaf
source/client/ui/desktop/task_manager_window.cc
@@ -641,7 +641,7 @@ void TaskManagerWindow::onServiceContextMenu(const QPoint& pos)
641
bool enable_start = false;
642
bool enable_stop = false;
643
644
- if (current_item->startupType() != proto::task_manager::Service::STARTUP_TYPE_DISABLED)
+ if (current_item && current_item->startupType() != proto::task_manager::Service::STARTUP_TYPE_DISABLED)
645
{
646
proto::task_manager::Service::Status status = current_item->status();
647
0 commit comments