Re: Another patch for 1.6.x

2010-10-15 Thread Jürgen Spitzmüller
Stephan Witt wrote:
 I have another patch in my local branch checkout...
 It fixes a warning and a potential bug.

OK.

Jürgen


Re: Another patch for 1.6.x

2010-10-15 Thread Jürgen Spitzmüller
Stephan Witt wrote:
> I have another patch in my local branch checkout...
> It fixes a warning and a potential bug.

OK.

Jürgen


Another patch for 1.6.x

2010-10-13 Thread Stephan Witt
I have another patch in my local branch checkout...
It fixes a warning and a potential bug.

Stephan

Index: src/mathed/InsetMathHull.cpp
===
--- src/mathed/InsetMathHull.cpp(Revision 35627)
+++ src/mathed/InsetMathHull.cpp(Arbeitskopie)
@@ -1403,7 +1403,7 @@
case LFUN_MATH_NUMBER_TOGGLE:
// FIXME: what is the right test, this or the one of
// LABEL_INSERT?
-   status.setEnabled(display());
+   status.setEnabled(display() != Inline);
status.setOnOff(numberedType());
return true;
 


Another patch for 1.6.x

2010-10-13 Thread Stephan Witt
I have another patch in my local branch checkout...
It fixes a warning and a potential bug.

Stephan

Index: src/mathed/InsetMathHull.cpp
===
--- src/mathed/InsetMathHull.cpp(Revision 35627)
+++ src/mathed/InsetMathHull.cpp(Arbeitskopie)
@@ -1403,7 +1403,7 @@
case LFUN_MATH_NUMBER_TOGGLE:
// FIXME: what is the right test, this or the one of
// LABEL_INSERT?
-   status.setEnabled(display());
+   status.setEnabled(display() != Inline);
status.setOnOff(numberedType());
return true;