diff options
Diffstat (limited to 'ui/qt/wireshark_application.cpp')
-rw-r--r-- | ui/qt/wireshark_application.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp index b5cddbdfb7..583da79d6c 100644 --- a/ui/qt/wireshark_application.cpp +++ b/ui/qt/wireshark_application.cpp @@ -54,6 +54,12 @@ get_last_open_dir(void) return last_open_dir; } +void +set_last_open_dir(const char *dirname) +{ + if (wsApp) wsApp->setLastOpenDir(dirname); +} + /* * Add the capture filename to the application-wide "Recent Files" list. * Contrary to the name this isn't limited to the "recent" menu. |