don't ask to confirm when removing one version

Sun, 08 Sep 2013 21:58:44 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 08 Sep 2013 21:58:44 +0300
changeset 28
dc076175ebdc
parent 27
b9307871cf10
child 29
251b121ab6c0

don't ask to confirm when removing one version

src/versionEditor.cpp file | annotate | diff | comparison | revisions
--- a/src/versionEditor.cpp	Sun Sep 08 21:57:23 2013 +0300
+++ b/src/versionEditor.cpp	Sun Sep 08 21:58:44 2013 +0300
@@ -83,9 +83,6 @@
 	QTableWidget* const vers = m_ui->m_versions;
 	
 	str name = vers->item (vers->currentRow(), NameColumn)->text();
-	if (!confirm (fmt (tr ("Really remove version %1?"), name)))
-		return;
-	
 	vers->removeRow (vers->currentRow());
 }
 

mercurial