projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8cd8e
)
MainWindow: Fix crash on closing last session
author
Soeren Apel
<soeren@apelpie.net>
Sun, 4 Sep 2016 12:49:29 +0000
(14:49 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 4 Sep 2016 12:56:58 +0000
(14:56 +0200)
pv/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index 92c92d023225a7d5fa7cb5f54764d4e1218b2a12..a8f093bccd6eb051c533452b3e86b490625b2bff 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-260,7
+260,7
@@
void MainWindow::remove_session(shared_ptr<Session> session)
// Update the window title if there is no view left to
// generate focus change events
if (sessions_.empty())
-
on_session_name_changed(
);
+
setWindowTitle(WindowTitle
);
}
void MainWindow::setup_ui()