mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
rev 21667: Forgot this!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21668 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
01470ddcb7
commit
9f26cdda31
@ -234,7 +234,6 @@ LyXView & GuiApplication::createView(string const & geometry_arg)
|
||||
GuiView * view = views_[id];
|
||||
theLyXFunc().setLyXView(view);
|
||||
|
||||
view->init();
|
||||
view->show();
|
||||
if (!geometry_arg.empty()) {
|
||||
#ifdef Q_WS_WIN
|
||||
|
@ -323,6 +323,8 @@ GuiView::GuiView(int id)
|
||||
|
||||
// For Drag&Drop.
|
||||
setAcceptDrops(true);
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
@ -1417,12 +1419,6 @@ Dialog * GuiView::build(string const & name)
|
||||
}
|
||||
|
||||
|
||||
/// Are the tooltips on or off?
|
||||
bool GuiView::tooltipsEnabled()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace frontend
|
||||
} // namespace lyx
|
||||
|
||||
|
@ -61,7 +61,13 @@ public:
|
||||
|
||||
~GuiView();
|
||||
|
||||
/**
|
||||
* This is called after the concrete view has been created.
|
||||
* We have to have the toolbar and the other stuff created
|
||||
* before we can populate it with this call.
|
||||
*/
|
||||
virtual void init();
|
||||
///
|
||||
virtual void close();
|
||||
virtual void setFocus();
|
||||
virtual void setBusy(bool);
|
||||
@ -211,9 +217,6 @@ public:
|
||||
*/
|
||||
void checkStatus();
|
||||
|
||||
/// Are the tooltips on or off?
|
||||
bool tooltipsEnabled();
|
||||
|
||||
/// Hide all visible dialogs
|
||||
void hideAll() const;
|
||||
/// Hide any dialogs that require a buffer for them to operate
|
||||
|
Loading…
Reference in New Issue
Block a user