]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.h
Fix assertion when checking if change in selection
[lyx.git] / src / insets / InsetIndex.h
index 8dc14b967cdc670d2ed2c3c0b55d83eab347f412..01bf7096b08b5d0b8f074b92103df8f2d2eb53e2 100644 (file)
@@ -119,7 +119,7 @@ public:
        ///
        bool hasSettings() const;
        ///
-       DisplayType display() const { return Display; }
+       DisplayType display() const { return AlignCenter; }
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes