mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
fix "change tracker microbug" reported by Helge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10117 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
78145de0a7
commit
9e3ae6b327
@ -1,3 +1,8 @@
|
||||
2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* QChanges.[Ch] (update_contents): move to next change on update.
|
||||
* QChanges.C: make some strings translatable.
|
||||
|
||||
2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* qfont_loader.h (USE_LYX_FONTCACHE): change order of #includes so
|
||||
|
@ -45,6 +45,12 @@ void QChanges::build_dialog()
|
||||
}
|
||||
|
||||
|
||||
void QChanges::update_contents()
|
||||
{
|
||||
next();
|
||||
}
|
||||
|
||||
|
||||
void QChanges::next()
|
||||
{
|
||||
controller().find();
|
||||
@ -54,9 +60,9 @@ void QChanges::next()
|
||||
string date(controller().getChangeDate());
|
||||
|
||||
if (!author.empty())
|
||||
text += "Change by " + author + "\n\n";
|
||||
text += _("Change by ") + author + "\n\n";
|
||||
if (!date.empty())
|
||||
text += "Change made at " + date + "\n";
|
||||
text += _("Change made at ") + date + "\n";
|
||||
|
||||
dialog_->changeTV->setText(toqstr(text));
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ private:
|
||||
/// Apply changes
|
||||
virtual void apply() {};
|
||||
/// update
|
||||
virtual void update_contents() {};
|
||||
virtual void update_contents();
|
||||
/// build the dialog
|
||||
virtual void build_dialog();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user