mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Add warning message if we do no conversion.
This commit is contained in:
parent
221932f63a
commit
4c16c61579
@ -554,6 +554,8 @@ class LyX_base:
|
|||||||
def convert(self):
|
def convert(self):
|
||||||
"Convert from current (self.format) to self.end_format."
|
"Convert from current (self.format) to self.end_format."
|
||||||
if self.format == self.end_format:
|
if self.format == self.end_format:
|
||||||
|
self.warning("No conversion needed: Target format %s "
|
||||||
|
"same as current format!" % self.format, default_debug__)
|
||||||
return
|
return
|
||||||
|
|
||||||
mode, conversion_chain = self.chain()
|
mode, conversion_chain = self.chain()
|
||||||
|
Loading…
Reference in New Issue
Block a user