]> git.lyx.org Git - lyx.git/blobdiff - src/text2.C
I reactivate the code to resize the InsetText on a resize event of the main
[lyx.git] / src / text2.C
index caed3ece552024c44af8e106d81da8d93c330068..de33573ee34bc77d1fb1e70d766256c075f38326 100644 (file)
@@ -2326,7 +2326,8 @@ bool LyXText::deleteEmptyParagraphMechanism(BufferView * bview,
                                            LyXCursor const & old_cursor) const
 {
        // Would be wrong to delete anything if we have a selection.
-       if (selection.set()) return false;
+       if (selection.set())
+               return false;
 
        // We allow all kinds of "mumbo-jumbo" when freespacing.
        if (textclasslist[bview->buffer()->params.textclass][