mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
two small missing bits for rev18468
* src/frontends/qt4(QDocument.spp: *src/frontends/qt4QInclude.spp: - add missing toqstr conversion. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18469 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b78c1db290
commit
43215a323f
@ -625,7 +625,7 @@ void QDocumentDialog::validate_listings_params()
|
||||
} catch (invalidParam & e) {
|
||||
isOK = false;
|
||||
// listingsTB->setTextColor("red");
|
||||
textLayoutModule->listingsTB->setPlainText(e.what());
|
||||
textLayoutModule->listingsTB->setPlainText(toqstr(e.what()));
|
||||
okPB->setEnabled(false);
|
||||
applyPB->setEnabled(false);
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ void QIncludeDialog::validate_listings_params()
|
||||
}
|
||||
} catch (invalidParam & e) {
|
||||
isOK = false;
|
||||
listingsTB->setPlainText(e.what());
|
||||
listingsTB->setPlainText(toqstr(e.what()));
|
||||
okPB->setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user