Fix SEGV in FileCatalog::(show|hide)ToolBar()
(fixes #4916)
This commit is contained in:
parent
8073c3dfde
commit
0051e8f2ac
@ -2522,7 +2522,7 @@ bool FileCatalog::handleShortcutKey (GdkEventKey* event)
|
||||
|
||||
void FileCatalog::showToolBar()
|
||||
{
|
||||
if (!options.FileBrowserToolbarSingleRow) {
|
||||
if (hbToolBar1STB) {
|
||||
hbToolBar1STB->show();
|
||||
}
|
||||
|
||||
@ -2531,7 +2531,7 @@ void FileCatalog::showToolBar()
|
||||
|
||||
void FileCatalog::hideToolBar()
|
||||
{
|
||||
if (!options.FileBrowserToolbarSingleRow) {
|
||||
if (hbToolBar1STB) {
|
||||
hbToolBar1STB->hide();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user