mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Remove some calls that do nothing but print an error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18497 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5fed0e44ed
commit
adc3d95451
@ -276,10 +276,8 @@ void QInclude::apply()
|
||||
int const item = dialog_->typeCO->currentIndex();
|
||||
if (item == 0) {
|
||||
params.setCmdName("include");
|
||||
params.setOptions(string());
|
||||
} else if (item == 1) {
|
||||
params.setCmdName("input");
|
||||
params.setOptions(string());
|
||||
} else if (item == 3) {
|
||||
params.setCmdName("lstinputlisting");
|
||||
// the parameter string should have passed validation
|
||||
@ -296,7 +294,6 @@ void QInclude::apply()
|
||||
params.setCmdName("verbatiminput*");
|
||||
else
|
||||
params.setCmdName("verbatiminput");
|
||||
params.setOptions(string());
|
||||
}
|
||||
controller().setParams(params);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user