src/headerhistorymodel.cpp

changeset 1307
adb9d32a1426
parent 1292
66d2050d3bd9
child 1323
05b3e173c900
--- a/src/headerhistorymodel.cpp	Mon Mar 19 12:44:27 2018 +0200
+++ b/src/headerhistorymodel.cpp	Tue Mar 20 12:25:52 2018 +0200
@@ -10,6 +10,8 @@
 {
 	if (this->header)
 		return this->header->history.size();
+	else
+		return 0;
 }
 
 int HeaderHistoryModel::columnCount(const QModelIndex&) const

mercurial