connect to the right slots...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20165 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2007-09-09 12:06:37 +00:00
parent 2a1a156f47
commit cc832049a9
2 changed files with 4 additions and 4 deletions

View File

@ -44,8 +44,8 @@ GuiTexinfoDialog::GuiTexinfoDialog(LyXView & lv)
connect(viewPB, SIGNAL(clicked()), this, SLOT(viewClicked()));
connect(whatStyleCO, SIGNAL(activated(const QString &)),
this, SLOT(enableViewPB()));
connect(whatStyleCO, SIGNAL(activated(int)), this, SLOT(update()));
connect(pathCB, SIGNAL(stateChanged(int)), this, SLOT(update()));
connect(whatStyleCO, SIGNAL(activated(int)), this, SLOT(updateView()));
connect(pathCB, SIGNAL(stateChanged(int)), this, SLOT(updateView()));
connect(rescanPB, SIGNAL(clicked()), this, SLOT(enableViewPB()));
connect(rescanPB, SIGNAL(clicked()), this, SLOT(rescanClicked()));
connect(fileListLW, SIGNAL(itemClicked(QListWidgetItem *)),

View File

@ -32,11 +32,11 @@ GuiViewSourceDialog::GuiViewSourceDialog(ControlViewSource & controller)
setWindowTitle(qt_("LaTeX Source"));
connect(viewFullSourceCB, SIGNAL(clicked()),
this, SLOT(update()));
this, SLOT(updateView()));
connect(autoUpdateCB, SIGNAL(toggled(bool)),
updatePB, SLOT(setDisabled(bool)));
connect(updatePB, SIGNAL(clicked()),
this, SLOT(update()));
this, SLOT(updateView()));
// setting a document at this point trigger an assertion in Qt
// so we disable the signals here: