mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +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>
|
||||
|
||||
|
@ -57,6 +57,12 @@ void Toolbar::update(bool in_math, bool in_table)
|
||||
}
|
||||
|
||||
|
||||
void Toolbar::clearLayoutList()
|
||||
{
|
||||
last_textclass_ = -1;
|
||||
}
|
||||
|
||||
|
||||
bool Toolbar::updateLayoutList(int textclass)
|
||||
{
|
||||
// update the layout display
|
||||
|
@ -47,7 +47,7 @@ public:
|
||||
/// Drop down the layout list
|
||||
virtual void openLayoutList() = 0;
|
||||
/// Erase the layout list
|
||||
virtual void clearLayoutList() = 0;
|
||||
virtual void clearLayoutList();
|
||||
|
||||
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>
|
||||
|
||||
* ui/QCitationDialogBase.ui: Omit correct signal for styleCO changes
|
||||
|
@ -186,6 +186,7 @@ void QLToolbar::clearLayoutList()
|
||||
if (!combo_)
|
||||
return;
|
||||
|
||||
Toolbar::clearLayoutList();
|
||||
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>
|
||||
|
||||
* Always use std::endl with lyxerr
|
||||
|
@ -232,6 +232,7 @@ void XFormsToolbar::clearLayoutList()
|
||||
if (!combox_)
|
||||
return;
|
||||
|
||||
Toolbar::clearLayoutList();
|
||||
fl_clear_combox(combox_);
|
||||
fl_redraw_object(combox_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user