r20234 by jghali - fix some missing part to commit r20231

scribus-commit scribus-commit at lists.scribus.net
Fri Jul 3 23:40:52 UTC 2015


Author: jghali
Date: Fri Jul  3 23:40:52 2015
New Revision: 20234

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20234
Log:
fix some missing part to commit r20231

Modified:
    trunk/Scribus/scribus/ui/annot.cpp

Modified: trunk/Scribus/scribus/ui/annot.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20234&path=/trunk/Scribus/scribus/ui/annot.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/annot.cpp (original)
+++ trunk/Scribus/scribus/ui/annot.cpp Fri Jul  3 23:40:52 2015
@@ -2107,6 +2107,7 @@
 			break;
 		case 4:
 			annotation.setActionType(Annotation::Action_ResetForm);
+			annotation.setAction(QString());
 			break;
 		case 5:
 			annotation.setActionType(Annotation::Action_ImportData);
@@ -2117,6 +2118,7 @@
 			annotation.setAction(nameActionCombo->itemData(nameActionCombo->currentIndex()).toString());
 			break;
 		default:
+			annotation.setActionType(Annotation::Action_None);
 			annotation.setAction(QString());
 			break;
 	}




More information about the scribus-commit mailing list