fixed #2264
This commit is contained in:
parent
c72330142a
commit
2c123b1a2a
|
@ -203,7 +203,9 @@ class AdvancedSearchItem : public GuiComponent,
|
|||
void
|
||||
show(void) throw ()
|
||||
{
|
||||
enclosingBox->show();
|
||||
if (!enclosingBox->is_visible()) {
|
||||
enclosingBox->show();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -212,7 +214,9 @@ class AdvancedSearchItem : public GuiComponent,
|
|||
void
|
||||
hide(void) throw ()
|
||||
{
|
||||
enclosingBox->hide();
|
||||
if (enclosingBox->is_visible()) {
|
||||
enclosingBox->hide();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -88,8 +88,10 @@ GuiWindow :: GuiWindow (const Glib::ustring & bundleName,
|
|||
void
|
||||
GuiWindow :: show (void) throw ()
|
||||
{
|
||||
preShow();
|
||||
mainWindow->show();
|
||||
if (!mainWindow->is_visible()) {
|
||||
preShow();
|
||||
mainWindow->show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -112,8 +114,10 @@ GuiWindow :: preShow (void) throw ()
|
|||
void
|
||||
GuiWindow :: hide (void) throw ()
|
||||
{
|
||||
preHide();
|
||||
mainWindow->hide();
|
||||
if (mainWindow->is_visible()) {
|
||||
preHide();
|
||||
mainWindow->hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue