Skip to content

Commit

Permalink
Rename button variable
Browse files Browse the repository at this point in the history
  • Loading branch information
DLu committed Jun 14, 2022
1 parent 1800265 commit 25551c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private Q_SLOTS:
const std::vector<std::string>& selected_interfaces, QWidget* parent = nullptr);
std::vector<std::string> getInterfaces(const char first_letter, const std::vector<std::string>& available_interfaces);
QWidget* content_widget_;
QPushButton* btn_go_;
QPushButton* btn_add_interfaces_;
QTextEdit* generated_text_widget_;
std::unordered_map<std::string, QCheckBox*> check_boxes_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ void UrdfModificationsWidget::focusGiven()
interface_widget->setLayout(interface_layout);
layout->addWidget(interface_widget);

btn_go_ = new QPushButton("Add interfaces");
connect(btn_go_, SIGNAL(clicked()), this, SLOT(addInterfaces()));
layout->addWidget(btn_go_);
btn_add_interfaces_ = new QPushButton("Add interfaces");
connect(btn_add_interfaces_, SIGNAL(clicked()), this, SLOT(addInterfaces()));
layout->addWidget(btn_add_interfaces_);

generated_text_widget_ = new QTextEdit();
generated_text_widget_->setReadOnly(true);
Expand Down

0 comments on commit 25551c3

Please sign in to comment.