fixed #2264
This commit is contained in:
parent
c72330142a
commit
2c123b1a2a
2 changed files with 14 additions and 6 deletions
|
@ -203,7 +203,9 @@ class AdvancedSearchItem : public GuiComponent,
|
||||||
void
|
void
|
||||||
show(void) throw ()
|
show(void) throw ()
|
||||||
{
|
{
|
||||||
enclosingBox->show();
|
if (!enclosingBox->is_visible()) {
|
||||||
|
enclosingBox->show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -212,7 +214,9 @@ class AdvancedSearchItem : public GuiComponent,
|
||||||
void
|
void
|
||||||
hide(void) throw ()
|
hide(void) throw ()
|
||||||
{
|
{
|
||||||
enclosingBox->hide();
|
if (enclosingBox->is_visible()) {
|
||||||
|
enclosingBox->hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -88,8 +88,10 @@ GuiWindow :: GuiWindow (const Glib::ustring & bundleName,
|
||||||
void
|
void
|
||||||
GuiWindow :: show (void) throw ()
|
GuiWindow :: show (void) throw ()
|
||||||
{
|
{
|
||||||
preShow();
|
if (!mainWindow->is_visible()) {
|
||||||
mainWindow->show();
|
preShow();
|
||||||
|
mainWindow->show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -112,8 +114,10 @@ GuiWindow :: preShow (void) throw ()
|
||||||
void
|
void
|
||||||
GuiWindow :: hide (void) throw ()
|
GuiWindow :: hide (void) throw ()
|
||||||
{
|
{
|
||||||
preHide();
|
if (mainWindow->is_visible()) {
|
||||||
mainWindow->hide();
|
preHide();
|
||||||
|
mainWindow->hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue