Diffstat (limited to 'noncore/settings/sysinfo/processinfo.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/processinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/processinfo.cpp b/noncore/settings/sysinfo/processinfo.cpp index 2232771..1de1a19 100644 --- a/noncore/settings/sysinfo/processinfo.cpp +++ b/noncore/settings/sysinfo/processinfo.cpp @@ -173,4 +173,7 @@ void ProcessInfo::slotSendClicked() QMessageBox::Yes | QMessageBox::Default, QMessageBox::No | QMessageBox::Escape ) == QMessageBox::Yes ) { + currprocess = ProcessView->currentItem(); + if ( currprocess ) + { QString sigstr = SignalCB->currentText(); sigstr.truncate(2); @@ -178,4 +181,5 @@ void ProcessInfo::slotSendClicked() kill( currprocess->text( 0 ).stripWhiteSpace().toUInt(), sigid ); } + } } |