]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommand.cpp
tex2lyx/text.cpp: fix typos
[lyx.git] / src / insets / InsetCommand.cpp
index 1c9a170b11214caf6d2387b369ee0205ea1dfeb5..004f2f328300fa577a61f5f32af9ad7da0ebbe9a 100644 (file)
@@ -80,7 +80,7 @@ InsetCommand::~InsetCommand()
 
 void InsetCommand::metrics(MetricsInfo & mi, Dimension & dim) const
 {
-       button_.update(screenLabel(), editable() || hasSettings());
+       button_.update(screenLabel(), editable() || clickable(0, 0));
        button_.metrics(mi, dim);
 }