src/mainwindow.cpp

changeset 967
eb586d3e1a6a
parent 966
a834e43a57da
child 968
4b93b7963456
--- a/src/mainwindow.cpp	Sun Aug 30 15:01:10 2015 +0300
+++ b/src/mainwindow.cpp	Sun Aug 30 15:17:28 2015 +0300
@@ -772,7 +772,7 @@
 
 		if (not doc->fullPath().isEmpty()) 
 			name = doc->fullPath();
-		elif (not doc->name().isEmpty())
+		else if (not doc->name().isEmpty())
 			name = doc->name();
 
 		name.replace ("\\", "/");

mercurial