forked from osmocom/wireshark
Qt: when a capture file is closed, go back to the welcome screen only
if we're not capturing to multiple files Change-Id: I18d36ef8e7e3525b2bd8d94f2b2349cefa3ecb52 Reviewed-on: https://code.wireshark.org/review/9161 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
parent
b89a4858bb
commit
6122b4b616
|
@ -686,10 +686,11 @@ void MainWindow::captureFileClosed() {
|
|||
|
||||
main_ui_->statusBar->popFileStatus();
|
||||
|
||||
main_ui_->mainStack->setCurrentWidget(main_welcome_);
|
||||
|
||||
setTitlebarForSelectedTreeRow();
|
||||
setMenusForSelectedTreeRow();
|
||||
|
||||
if (!global_capture_opts.multi_files_on)
|
||||
main_ui_->mainStack->setCurrentWidget(main_welcome_);
|
||||
}
|
||||
|
||||
void MainWindow::captureFileSaveStarted(const QString &file_path)
|
||||
|
|
Loading…
Reference in New Issue