Update mainwindow.cpp

This commit is contained in:
Yonghye Kwon 2018-12-18 14:58:30 +09:00 committed by GitHub
parent 8662c05fed
commit 19d1b36022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,7 +394,7 @@ void MainWindow::on_tableWidget_label_cellDoubleClicked(int row, int column)
if(bColorAttributeClicked)
{
QColor color = QColorDialog::getColor(Qt::white,this,"Set Label Color");
QColor color = QColorDialog::getColor(Qt::white,nullptr,"Set Label Color");
if(color.isValid())
{
set_label_color(row, color);