Merge branch 'master' into gtk3
This commit is contained in:
@@ -43,7 +43,6 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
|
||||
selectedDirectoryId(1),
|
||||
listener(NULL),
|
||||
fslistener(NULL),
|
||||
dirlistener(NULL),
|
||||
hasValidCurrentEFS(false),
|
||||
filterPanel(NULL),
|
||||
previewsToLoad(0),
|
||||
@@ -2049,8 +2048,8 @@ void FileCatalog::buttonBrowsePathPressed ()
|
||||
// handle shortcuts in the BrowsePath -- END
|
||||
|
||||
// validate the path
|
||||
if (safe_file_test(BrowsePathValue, Glib::FILE_TEST_IS_DIR) && dirlistener) {
|
||||
dirlistener->selectDir (BrowsePathValue);
|
||||
if (safe_file_test(BrowsePathValue, Glib::FILE_TEST_IS_DIR) && selectDir) {
|
||||
selectDir (BrowsePathValue);
|
||||
} else
|
||||
// error, likely path not found: show red arrow
|
||||
{
|
||||
|
Reference in New Issue
Block a user