Fix type issue in Resize Dialog
* Converted Int to String when appending to name
This commit is contained in:
parent
6c91ce6a1b
commit
d3b3663ef5
1 changed files with 2 additions and 2 deletions
|
|
@ -188,9 +188,9 @@ void Ui::OpenRGBZoneResizeDialog::on_AddSegmentButton_clicked()
|
|||
\*---------------------------------------------------------*/
|
||||
std::string new_name = "Segment ";
|
||||
|
||||
new_name.append(ui->SegmentsTreeWidget->topLevelItemCount() + 1);
|
||||
new_name.append(std::to_string(ui->SegmentsTreeWidget->topLevelItemCount() + 1));
|
||||
|
||||
lineedit_name->setText(new_name);
|
||||
lineedit_name->setText(new_name.c_str());
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Restrict slider maximum to zone size |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue