Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Commit

Permalink
Fixed #36
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagoda committed Oct 17, 2018
1 parent 910b7b4 commit b65c00c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/axiseditdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ void AxisEditDialog::openAdvancedPDialog()
{
qInstallMessageHandler(MessageHandler::myMessageOutput);

ButtonEditDialog *dialog = new ButtonEditDialog(m_axis->getPAxisButton(), m_axis->getControlStick()->getParentSet()->getInputDevice(), this);
ButtonEditDialog *dialog = new ButtonEditDialog(m_axis->getPAxisButton(), m_axis->getPAxisButton()->getParentSet()->getInputDevice(), this);
dialog->show();

connect(dialog, &ButtonEditDialog::finished, this, &AxisEditDialog::refreshPButtonLabel);
Expand All @@ -376,7 +376,7 @@ void AxisEditDialog::openAdvancedNDialog()
{
qInstallMessageHandler(MessageHandler::myMessageOutput);

ButtonEditDialog *dialog = new ButtonEditDialog(m_axis->getNAxisButton(), m_axis->getControlStick()->getParentSet()->getInputDevice(), this);
ButtonEditDialog *dialog = new ButtonEditDialog(m_axis->getNAxisButton(), m_axis->getNAxisButton()->getParentSet()->getInputDevice(), this);
dialog->show();

connect(dialog, &ButtonEditDialog::finished, this, &AxisEditDialog::refreshNButtonLabel);
Expand Down

0 comments on commit b65c00c

Please sign in to comment.