Fix SEGV in FileCatalog::(show|hide)ToolBar()
(fixes #4916)
This commit is contained in:
parent
8073c3dfde
commit
0051e8f2ac
@ -1211,7 +1211,7 @@ void FileCatalog::developRequested(const std::vector<FileBrowserEntry*>& tbe, bo
|
|||||||
params.resize.width = options.fastexport_resize_width;
|
params.resize.width = options.fastexport_resize_width;
|
||||||
params.resize.height = options.fastexport_resize_height;
|
params.resize.height = options.fastexport_resize_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
params.resize.enabled = options.fastexport_resize_enabled;
|
params.resize.enabled = options.fastexport_resize_enabled;
|
||||||
params.resize.scale = options.fastexport_resize_scale;
|
params.resize.scale = options.fastexport_resize_scale;
|
||||||
params.resize.appliesTo = options.fastexport_resize_appliesTo;
|
params.resize.appliesTo = options.fastexport_resize_appliesTo;
|
||||||
@ -2522,7 +2522,7 @@ bool FileCatalog::handleShortcutKey (GdkEventKey* event)
|
|||||||
|
|
||||||
void FileCatalog::showToolBar()
|
void FileCatalog::showToolBar()
|
||||||
{
|
{
|
||||||
if (!options.FileBrowserToolbarSingleRow) {
|
if (hbToolBar1STB) {
|
||||||
hbToolBar1STB->show();
|
hbToolBar1STB->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2531,7 +2531,7 @@ void FileCatalog::showToolBar()
|
|||||||
|
|
||||||
void FileCatalog::hideToolBar()
|
void FileCatalog::hideToolBar()
|
||||||
{
|
{
|
||||||
if (!options.FileBrowserToolbarSingleRow) {
|
if (hbToolBar1STB) {
|
||||||
hbToolBar1STB->hide();
|
hbToolBar1STB->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user