mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
fix layout combox update bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7483 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fea30d5137
commit
44bb33dac2
@ -1,3 +1,7 @@
|
|||||||
|
2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||||
|
|
||||||
|
* Toolbar.C (clearLayoutList): new methods, which resets
|
||||||
|
last_textclass_. The derived methods should call that.
|
||||||
|
|
||||||
2003-08-01 André Pönitz <poenitz@gmx.net>
|
2003-08-01 André Pönitz <poenitz@gmx.net>
|
||||||
|
|
||||||
|
@ -57,6 +57,12 @@ void Toolbar::update(bool in_math, bool in_table)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Toolbar::clearLayoutList()
|
||||||
|
{
|
||||||
|
last_textclass_ = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Toolbar::updateLayoutList(int textclass)
|
bool Toolbar::updateLayoutList(int textclass)
|
||||||
{
|
{
|
||||||
// update the layout display
|
// update the layout display
|
||||||
|
@ -47,7 +47,7 @@ public:
|
|||||||
/// Drop down the layout list
|
/// Drop down the layout list
|
||||||
virtual void openLayoutList() = 0;
|
virtual void openLayoutList() = 0;
|
||||||
/// Erase the layout list
|
/// Erase the layout list
|
||||||
virtual void clearLayoutList() = 0;
|
virtual void clearLayoutList();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||||
|
|
||||||
|
* QLToolbar.C (clearLayoutList): call Toolbar::clearLayoutList
|
||||||
|
|
||||||
2003-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
2003-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
* ui/QCitationDialogBase.ui: Omit correct signal for styleCO changes
|
* ui/QCitationDialogBase.ui: Omit correct signal for styleCO changes
|
||||||
|
@ -186,6 +186,7 @@ void QLToolbar::clearLayoutList()
|
|||||||
if (!combo_)
|
if (!combo_)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Toolbar::clearLayoutList();
|
||||||
combo_->clear();
|
combo_->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||||
|
|
||||||
|
* XFormsToolbar.C (clearLayoutList): call Toolbar::clearLayoutList
|
||||||
|
|
||||||
2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
|
2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||||
|
|
||||||
* Always use std::endl with lyxerr
|
* Always use std::endl with lyxerr
|
||||||
|
@ -232,6 +232,7 @@ void XFormsToolbar::clearLayoutList()
|
|||||||
if (!combox_)
|
if (!combox_)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Toolbar::clearLayoutList();
|
||||||
fl_clear_combox(combox_);
|
fl_clear_combox(combox_);
|
||||||
fl_redraw_object(combox_);
|
fl_redraw_object(combox_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user