diff --git a/src/frontends/qt4/QTexinfoDialog.C b/src/frontends/qt4/QTexinfoDialog.C index decb8a48f0..761931ca09 100644 --- a/src/frontends/qt4/QTexinfoDialog.C +++ b/src/frontends/qt4/QTexinfoDialog.C @@ -79,7 +79,7 @@ void QTexinfoDialog::viewClicked() void QTexinfoDialog::update() { - switch (whatStyle->currentItem()) { + switch (whatStyle->currentIndex()) { case 0: form_->updateStyles(ControlTexinfo::cls); break;