summaryrefslogtreecommitdiff
path: root/ui/qt/main_window_slots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/main_window_slots.cpp')
-rw-r--r--ui/qt/main_window_slots.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 599edc738d..46f2c03439 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -677,6 +677,19 @@ void MainWindow::captureFileReadFinished() {
emit setDissectedCaptureFile(capture_file_.capFile());
}
+void MainWindow::captureFileRetapStarted()
+{
+ // XXX Push a status message?
+ main_ui_->actionFileClose->setEnabled(false);
+ main_ui_->actionViewReload->setEnabled(false);
+}
+
+void MainWindow::captureFileRetapFinished()
+{
+ main_ui_->actionFileClose->setEnabled(true);
+ main_ui_->actionViewReload->setEnabled(true);
+}
+
void MainWindow::captureFileClosing() {
setMenusForCaptureFile(true);
setForCapturedPackets(false);