mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24843 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bcb835953e
commit
8bb1c2fc78
@ -1281,13 +1281,13 @@ void PrefConverters::updateButtons()
|
||||
|| from.name() == to.name());
|
||||
|
||||
int const cnr = convertersLW->currentItem()->type();
|
||||
Converter const & c(form_->converters().get(cnr));
|
||||
Converter const & c = form_->converters().get(cnr);
|
||||
string const old_command = c.command;
|
||||
string const old_flag = c.flags;
|
||||
string const new_command(fromqstr(converterED->text()));
|
||||
string const new_flag(fromqstr(converterFlagED->text()));
|
||||
string const new_command = fromqstr(converterED->text());
|
||||
string const new_flag = fromqstr(converterFlagED->text());
|
||||
|
||||
bool modified = (old_command != new_command) || (old_flag != new_flag);
|
||||
bool modified = (old_command != new_command || old_flag != new_flag);
|
||||
|
||||
converterModifyPB->setEnabled(valid && known && modified);
|
||||
converterNewPB->setEnabled(valid && !known);
|
||||
@ -1366,7 +1366,6 @@ void FormatValidator::fixup(QString & input) const
|
||||
if (distance(formats_.begin(), cit) == nr()) {
|
||||
input = toqstr(name);
|
||||
return;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user