there was a reason it was int

This commit is contained in:
Mathias Panzenböck
2014-02-21 23:15:07 +01:00
parent c5f9ec7e4c
commit 76175efe27
2 changed files with 3 additions and 3 deletions

View File

@ -127,8 +127,8 @@ void AxisEdit::gradientChanged( bool on ) {
}
}
void AxisEdit::modeChanged( Axis::Mode mode ) {
if (mode == Axis::Keyboard) {
void AxisEdit::modeChanged( int index ) {
if (index == Axis::Keyboard) {
mouseBox->setEnabled(false);
keyBox->setEnabled(true);
}